Tuesday, May 13, 2014

Add a cert to @hp_networking IMC for secure https access

Generate a certificate using your internal CA or an external CA. Export the certificate, including the private key and full chain of trust, to a .PFX (PKCS12) file. Note the password used during export. You will need this again.

"C:\Program Files\iMC\common\jre\bin\keytool.exe" -importkeystore -srckeystore "C:\imc-csr\imc_ch.pfx" -destkeystore "C:\imc-csr\newks" -srcstoretype pkcs12 -deststoretype JKS -storepass iMCV500R001 –v

After you have generate newks file, please cut and paste the generated alias into the next command
Attention, verify the alias. It’s not the same alias then here used.

This is output for the first command:
Entry for alias le-imcwebserver- le-b67beea5-e848-4e84-8ec3-61bf5fcada96 successfully imported.
Import command completed:  1 entries successfully imported, 0 entries failed or cancelled

"C:\Program Files\iMC\common\jre\bin\keytool.exe" -changealias -alias le-b67beea5-e848-4e84-8ec3-61bf5fcada96 -destalias imc -keystore "C:\imc-csr\newks" -storepass iMCV500R001

"C:\Program Files\iMC\common\jre\bin\keytool.exe" -keypasswd -alias imc -keypasswd  -new iMCV500R001 -keystore "C:\imc-csr\newks" -storepass iMCV500R001



Copy the new generated file newks to following directory "C:\Program Files\iMC\client\security"

No comments:

Post a Comment