HP XP P9000 Command View Advanced Edition Suite Software 7.6.1-00 Administrator Guide
Exporting a server or client certificate for a CIM client
Use the keytool utility to export a server or client certificate for a CIM client from the client's keystore
file.
Operations to complete in advance
• Install Java (JDK 1.5) onto the CIM client.
• Create a CIM client server certificate.
Information to collect in advance
• Path of the keystore file in the CIM client
• Alias name for the server certificate in the CIM client
• Keystore password in the CIM client
To export a server or client certificate for a CIM client:
1. Execute the following command to export the server or client certificate for a CIM client:
keytool -export -keystore keystore-file-name -storepass keystore-password
-alias alias -file certificate-file-name
2. Execute the following command to check the contents of the exported server or client certificate:
keytool -printcert -v -file certificate-file-name
Importing a server or client certificate into a CIM client
Use the keytool utility to import a server or client certificate for the Device Manager into a CIM
client truststore.
Operations to complete in advance
• Install Java (JDK 1.5) onto the CIM client.
• Obtain a Device Manager server certificate (see “Exporting a server certificate for object opera-
tions” on page 224, “Exporting a client certificate for event indications” on page 229).
Information to collect in advance
• CIM client truststore password
To import a server or client certificate into a CIM client:
1. Execute the following command to import a server or client certificate for the Device Manager:
keytool -import -alias alias -keystore truststore-file-name -storepass
truststore-password -trustcacerts -file certificate-file-name
• Do not use the following symbols in the file name:
: , ; * ? " < > |
• Specify the file name as a character string of no more than 255 bytes.
2. Execute the following command to check the contents of the truststore file:
keytool -list -keystore truststore-file-name -storepass
truststore-password
Security234