How to export and import SSL certificate - How to export and import SSL certificate - Alfresco - Alfresco Sync Service - Alfresco/Alfresco-Sync-Service/5.2/Alfresco-Sync-Service/Configure/Connect-through-JMX/How-to-export-and-import-SSL-certificate - 5.2 - 5.2

Alfresco Sync Service

Platform
Alfresco
Product
Alfresco Sync Service
Release
5.2
License
ft:lastPublication
2026-05-28T22:10:46.888000
ft:locale
en-US
  1. 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.

  2. 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).