Smarts NCM: How to export voyence-ssl.keystore certificate
search cancel

Smarts NCM: How to export voyence-ssl.keystore certificate

book

Article ID: 331002

calendar_today

Updated On:

Products

VMware Smart Assurance

Environment

VMware Smart Assurance - NCM

Resolution

In NCM 9.3.x:

1. cd /usr/java/jdk1.7.0_45/jre/bin/

2. ./keytool.exe -export -keystore /opt/smarts-ncm/jboss/server/vc-server/deploy/1vc.sar/voyence-ssl.keystore -alias selfsigned -file voyence-ssl.keystorecert

    When prompted for the password, hit <enter>. (No password is needed). The output will look similar to the following:

[root@NCM-1 bin]# ./keytool -export -keystore /opt/smarts-ncm/jboss/server/vc-server/deploy/1vc.sar/voyence-ssl.keystore -alias selfsigned -file voyence-ssl.keystorecert
Enter keystore password:

*****************  WARNING WARNING WARNING  *****************
* The integrity of the information stored in your keystore  *
* has NOT been verified!  In order to verify its integrity, *
* you must provide your keystore password.                  *
*****************  WARNING WARNING WARNING  *****************

Certificate stored in file <voyence-ssl.keystorecert>


    *note 'voyence-ssl.keystorecert', in this context, is a name chosen by the admin.

3. ./keytool -printcert -v -file voyence-ssl.keystorecert

    The output will look similar to the following:

Certificate stored in file <voyence-ssl.keystorecert>
[root@NCM-1 bin]# ./keytool -printcert -v -file voyence-ssl.keystorecert
Owner: CN=NCM-1.lss.emc.com, OU=Product Delivery, O=EMC, L=Richardson, ST=Texas, C=US
Issuer: CN=NCM-1.lss.emc.com, OU=Product Delivery, O=EMC, L=Richardson, ST=Texas, C=US
Serial number: 56fe44d5
Valid from: Fri Apr 01 05:52:21 EDT 2016 until: Sun Feb 08 04:52:21 EST 2026
Certificate fingerprints:
         MD5:  64:7B:DE:1A:DF:50:3E:70:E7:DF:67:E9:02:45:82:B7
         SHA1: 3E:BC:1B:DB:A6:D6:0E:F1:41:EF:4B:CC:9D:AD:2C:11:E0:44:3C:F5
         SHA256: 45:F2:F3:00:E5:CD:C9:A8:F8:3E:56:1C:D5:56:F6:53:71:36:64:1C:64:E4:44:3F:02:BE:6C:03:A7:FC:D2:CA
         Signature algorithm name: SHA1withRSA
         Version: 3



In NCM 9.4.x:

1. cd /opt/smarts-ncm/java/jre/bin/

2. ./keytool -export -keystore /opt/smarts-ncm/conf/voyence-ssl.keystore -alias voyence-server -file voyence-ssl.keystorecert press <enter> when prompted for a password.
    *note 'voyence-ssl.keystorecert', in this context, is a name chosen by the admin.

3. ./keytool -printcert -v -file voyence-ssl.keystorecert