User guide
Exporting an Authentication File from a Keystore File
To export an authentication file from a keystore file:
1. Execute the following command:
– Windows:
hcmdskeytool -export -keystore keystore-filename -storepass
keystore-password -alias alias -file authentication-file-name
– Solaris or Linux:
keytool -export -keystore keystore-filename -storepass keystore-
password
-alias alias -file authentication-file-name
2. Check the exported authentication file using the following command:
– Windows:
hcmdskeytool -printcert -v -file authentication-file-name
– Solaris or Linux:
keytool -printcert -v -file authentication-file-name
Creating a Truststore File and Importing an Authentication File
To create a truststore file and import the authentication file:
1. Execute the following command:
– Windows:
hcmdskeytool -import -alias alias -keystore truststore-filename -
storepass
truststore-password -trustcacerts -file authentication-
filename
– Solaris or Linux:
keytool -import -alias alias -keystore truststore-filename -
storepass
truststore-password -trustcacerts -file authentication-
filename
2. Check the created truststore file:
– Windows:
hcmdskeytool -list -keystore truststore-filename -storepass
truststore-password
– Solaris or Linux:
keytool -list -keystore truststore-filename -storepass truststore-
password
1-42 Overview and Setup of CIM/WBEM
Hitachi Device Manager SMI-S Provider Installation and User Guide