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

Alfresco Sync Service

Platform
Alfresco
Product
Alfresco Sync Service
Release
3.0
ft:lastPublication
2026-05-06T19:49:28.818000
ft:locale
en-US
ArchiveStatus
Archived
  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).