Knowledge Base & Discussion Forum

FAQ: How to import a self-signed SSL certificate to a keystore cacerts file? (2678)

Known issues or frequently asked questions on customization of Ahsay software.

FAQ: How to import a self-signed SSL certificate to a keystore cacerts file? (2678)

Postby admin » Fri Jul 25, 2014 3:46 pm

Article ID: 2678
Reviewed: 24/07/2014

Product Version:
AhsayOBS: Pre-7.3.2.0
OS: All platforms

Description:
This document contains instruction on how to import a self-signed SSL certificate to a keystore cacerts file.

Steps:
Refer to the following steps:

  1. To import a self-signed certificate to a cacerts file, first convert the cert into a DER encoded binary certificate in .cer format.

    Connect to the AhsayOBS web management console with Internet Explorer:

    • Select the Certificate Error button beside the address bar, and then View certificates.

      cert_invalid(small).png

    • Import the certificate by selecting Install Certificate.

      self_sign2.png

    • Ensure that the certificate to be imported is placed in the Trusted Root Certification Authorities store:

      self_sign3.png


  2. Using the imported certificate, export the DER encoded binary certificate in .cer format:

    • View the imported certificate (from Step 1) in Internet Explorer, and select Export.

      self_sign4.png

    • In the Certificate Export Wizard, export the certificate without the private key.

      self_sign5.png

    • Select the DER encoded binary X.509 (.CER) format.

      self_sign6.png

    • You will be prompted to enter a name for the certificate to be exported, in this case, we named it Cert_File.

      self_sign7.png

      A certificate file "Cert_File.cer" will then be exported to C root directory, this file can be used to import to the cacerts file.


  3. Open an administrative command prompt:

    • Copy "Cert_File.cer" from:

      C:\Cert_File.cer

      to

      C:\Program Files\AhsayOBM\jvm\bin\Cert_File.cer


    • Navigate to the directory "C:\Program Files\AhsayOBM\jvm\bin", and enter the following command:

       >keytool -import -alias "Alias_Name" -keystore "C:\Program Files\AhsayOBM\jvm\lib\security\cacerts" -file Cert_File.cer
       


    • When prompted for a password, enter "changeit" without the quotations.


    • Enter "yes" when asked if you wish to trust the certificate.


Keywords:
SSL, cert, certificate, CA
admin
Site Admin
 
Posts: 968
Joined: Mon Jul 10, 2006 3:19 pm

Return to Customization & Branding

Who is online

Users browsing this forum: No registered users and 1 guest

Looking for Rbackup Alternative | Vembu Alternative | Novastor Alternative | Asigra Alternative | BackupAgent Alternative? Try our product.


A wholly owned subsidiary of Ahsay Backup Software Development Company Limited  [HKEx Stock Code: 8290]