-
Export the certificate from the sync.jks keystore.
For example, you can use the Java keytool (<JavaInstallationDir>/bin/keytool):
keytool -exportcert -alias sync -keystore sync.jks -file synccer.cer -storetype jceks -storepass <password>
This creates a synccer.cer file. This certificate can then be imported into the truststore so you can use it to start the JConsole.
-
Import the certificate into a truststore.
For example, using the Java keytool:
keytool -importcert -alias sync -file synccer.cer -keystore sync.truststore -storetype JCEKS -storepass <yourPassword>
This creates a truststore file of type JCEKS with the name sync.truststore (if it doesn’t already exist).