How to create Server Key with Certificate for Two hostnames / DNS names?
search cancel

How to create Server Key with Certificate for Two hostnames / DNS names?

book

Article ID: 203889

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope) CA Application Performance Management (APM / Wily / Introscope) INTROSCOPE DX Application Performance Management

Issue/Introduction

 

In a MOM EM Hot Failover scenario -- How to create a Server Key with Certificate for Two hostnames / DNS names.

Environment

Release : 10.7.0

Component : APM DOCUMENTATION

Resolution

Answer:

keytool -genkeypair -alias caapm -dname "ou=my organization" -ext
"san=dns:myhostname1.example.com,dns:myhostname2.example.com" -validity 10000 -keyalg RSA -keysize 2048 -keystore keystore -keypass password -storepass password

Additional Information

https://stackoverflow.com/questions/33827789/self-signed-certificate-dnsname-components-must-begin-with-a-letter