You are currently using a CA-signed certificate for Network Observability (VNA) and require an update because the existing certificate is expiring. You need to apply the new CA-signed certificate while maintaining your existing private key in the environment.
Virtual Network Assurance: All
To update your certificate, perform the following steps:
cp /opt/CA/VNA/wildfly/standalone/configuration/keystore.jks /opt/CA/VNA/wildfly/standalone/configuration/keystore.jks.backup
keytool -import -alias caroot -keystore /opt/CA/VNA/wildfly/standalone/configuration/keystore.jks -trustcacerts -file <fileName>
keytool -import -alias cainter -keystore /opt/CA/VNA/wildfly/standalone/configuration/keystore.jks -trustcacerts -file <fileName>
keytool -import -alias cavna -keystore /opt/CA/VNA/wildfly/standalone/configuration/keystore.jks -trustcacerts -file <fileName>
systemctl stop wildfly
systemctl start wildflyNote: If the installation path to your VNA instance differs from /opt/CA/VNA, adjust the paths in the commands above to match your specific environment.
Note: In some cases, you may also need to provide a path to the keytool binary (xxxx/java/bin/keytool), this command may help locate the java location: alternatives --display java