IBM Support

How to convert Host On-Demand CustomizedCAs.p12 to CustomizedCAs.jks file

Question & Answer


Question

How do you convert the IBM Rational Host On-Demand (HOD) CustomizedCAs.p12 file to CustomizedCAs.jks file for support of Java Secure Socket Extension (JSSE) for Transport Layer Security (TLS) v1.0, v1.1 and v1.2?

Cause

The documention about How to configure Host On-Demand to use Java Secure Socket Extension for Transport Layer Security support states you can create a CustomizedCAs.jks file by converting the existing CustomizedCAs.p12 to JKS format. The documents that are referenced do not provide the instructions on how to do the conversion.

Answer

To convert the CustomizedCAs.p12 file to a jks file, follow these steps for each Host On-Demand server platform.

For Windows server

  1. Start the IBM Certificate Management utility
  2. Click Start
  3. Select Programs
  4. Select IBM Rational Host On-Demand
  5. Select Administration
  6. Select IBM Certificate Management
  7. Click on Key Database File on the menu bar
  8. Select Open
  9. Select PKCS12 for Key Database type
  10. Browse for your existing CustomizedCAs.p12 file.
  11. When prompted for password, enter hod.
  12. Click on Key Database File on the menu bar again.
  13. Select Save As.
  14. Select JKS for Key Database type.
  15. Enter the correct file name
  16. Verify the location is C:/Program Files (x86)/IBM/HostOnDemand/HOD or whatever your HOD publish directory is.
  17. Click OK.
  18. When prompted for the password, enter hodpwd.
  19. Click on Key Database File.
  20. Select Close.

For all platforms, including z/OS:

You can execute the following command from the HOD publish directory, ../hostondemand/HOD:


keytool -importkeystore -srckeystore CustomizedCAs.p12 -srcstoretype PKCS12 -destkeystore CustomizedCAs.jks -deststoretype JKS -deststorepass hodpwd

When prompted for the source keystore password, enter 'hod'.

NOTE: The Java level must be at 1.7.0 or higher.

[{"Product":{"code":"SSS9FA","label":"Rational Host On-Demand"},"Business Unit":{"code":"BU011","label":"Systems - zSystems"},"Component":"Documentation","Platform":[{"code":"PF033","label":"Windows"},{"code":"PF035","label":"z\/OS"}],"Version":"11.0.9;11.0.10;11.0.11","Edition":""}]

Document Information

Modified date:
02 August 2018

UID

swg21697803