How can you update the Data Aggregator keystore with a new keypair, without reverting the configuration?
book
Article ID: 281371
calendar_today
Updated On:
Products
Network Observability
CA Performance Management
Show More
Show Less
Issue/Introduction
We need to update the Data Aggregator with a new keypair, but would like to avoid reverting to http due to security restrictions
Environment
All DX NetOps Performance Management releases
Resolution
Find the keystore name, keystore password, and alias of the existing keystore
This can be done with a keytool -list command, for example:
keytool -list -keystore keystore
Backup the existing truststore and keystore
By default, these two files need to be backed up
/opt/IMDataAggregator/apache-karaf/etc/truststore
/opt/IMDataAggregator/apache-karaf/etc/keystore
Generate or obtain a new keystore
This can be done either through an existing keystore, or following the below kb article if given a private key and public certificate
Alter the new keystore to mirror the existing keystore
This is ideally done when generating the keystore, but if not, you can alter things like the alias through commands as illustrated within this kb article:
Import the root & intermediate certs into the truststore
The root certificate will need to be trusted. If the certificate chain is proper, the intermediate should not require explicit trusting
/opt/CA/IMDataAggregator/jre/bin/keytool -importcert -keystore truststore -alias root_cert -file root.pem
/opt/CA/IMDataAggregator/bin/keytool -importcert -keystore truststore -alias intermediate_cert -file intermediate.pem
Stop the dadaemon service
Move the new keystore into the old keystore's location
Start the dadaemon service
Feedback
Was this article helpful?
thumb_up
Yes
thumb_down
No