Generating the PKCS12 certificate using JKS certificate: - Generating the PKCS12 certificate using JKS certificate: - Alfresco - Alfresco Office Services - Alfresco/Alfresco-Office-Services/2.0/Alfresco-Office-Services/Alfresco-Office-Services/Troubleshoot-Alfresco-Office-Services/Fixing-Edit-in-Microsoft-Office-Issue-with-AOS-when-SSO-is-enabled/Solutions/Generating-the-PKCS12-certificate-using-JKS-certificate - 2.0

Alfresco Office Services

Platform
Alfresco
Product
Alfresco Office Services
Release
2.0
ft:lastPublication
2026-05-06T19:22:31.517743
ft:locale
en-US
ArchiveStatus
Archived
  • Download certificate from server which is used to configure SSL in tomcat (If certificate has a password then get the password for the root certificate from your certificate provider).
  • Execute command given below to generate the PKCS12 format (.p12) which needs to be imported into client personal certificates:

    keytool -importkeystore -srckeystore {path_to_JKS_cert} -destkeystore {desired_path_for .p12} -srcstoretype JKS -deststoretype PKCS12 -deststorepass {your_password}
    
    1. During the course of the process, you will be prompted to provide the root certificate password (only for the first time). Please provide the root certificate password. 2. Secondly, you will be prompted to provide a password for .p12 certificate (that is being generated). Provide a desired password as per your password policy. 3. Certificate will be generated and saved to the location of your choice. Keep the newly generated .p12 certificate handy for next steps.