Import SSL certificate in DE WebUI (WebServer) keystore
search cancel

Import SSL certificate in DE WebUI (WebServer) keystore

book

Article ID: 439547

calendar_today

Updated On:

Products

ESP dSeries Workload Automation

Issue/Introduction

A user has an X.509 certificate file (such as a .pfx, .p12, or .cer) containing a full chain and needs to "break it down" into separate files—Root CA, Intermediate CA, and Leaf/Server certificate—to manually upload them or import them into a Java truststore (cacerts).

Environment

Workload Automation DE: 12.2 or above

Resolution

Prerequisites & Assumptions in these examples:

  • Keystore Path: /opt/CA/WorkloadAutomationDE/conf/certs/schedulerkeystore.p12
  • Keystore Password: changeit (Replace this with your actual keystore password)
  • Private Key Alias: tomcat (This is a common default, but you must replace this with the exact alias of the private key currently in your keystore)
  • Certificate Files: Assuming they are saved in /tmp/ as root.crt, intermediate.crt, and leaf.crt.

 

Import the Root Certificate

Import the Root CA first and give it a unique alias (e.g., root-ca).

 
keytool -importcert -alias root-ca \
-file /tmp/root.crt \
-keystore /opt/CA/WorkloadAutomationDE/conf/certs/schedulerkeystore.p12 \
-storetype PKCS12 \
-storepass changeit \
-noprompt

Follow the same steps as above for Intermediate and then Leaf (server) certificate.  Note: The alias for each certificate must be unique, use any name.

Verify the Keystore

Once all certificates are imported, you can verify the contents of the keystore to ensure the chain is complete and the leaf certificate is properly associated with the private key.

keytool -list -v \
-keystore /opt/CA/WorkloadAutomationDE/conf/certs/schedulerkeystore.p12 \
-storetype PKCS12 \
-storepass changeit