Question: how to view jks file?
Answer: Check a stand-alone certificate keytool -printcert -v -file mydomain.crt.
Check which certificates are in a Java keystore keytool -list -v -keystore keystore.jks.