AWI create keystore from private key and certificate

book

Article ID: 195090

calendar_today

Updated On:

Products

CA Automic Workload Automation - Automation Engine CA Automic One Automation CA Automic Operations Manager CA Automic Oracle

Issue/Introduction

A lot of times a security team provides a private key and a certificate in order for the Automic Admin to create a keystore with.

Here are the commands to generate a keystore from them and covert it to JKS format

Environment

Release : 12.3

Component : AUTOMATION WEB INTERFACE

Resolution

Please execute these commands:

  • openssl.exe pkcs12 -export -name awitomcat -in <certificatename>.cer -inkey <privatekeyname>.key -out myp12keystore.p12

Than converted it to JKS format:

  • keytool.exe -importkeystore -destkeystore mykeystore.jks -srckeystore myp12keystore.p12 -srcstoretype pkcs12 -alias awitomcat