There are a lot of docs out there about installing a certificate to Tomcat, but are there instructions on how to renew/update a certificate? For instance, when I try to follow the instructions in tomcat docs, I get the following:
keytool -import -alias root -keystore keystore.pkcs12 -trustcacerts -file ~/tempCerts/gd_bundle-g2-g1.crt Enter keystore password: keytool error: java.lang.Exception: Certificate not imported, alias <root> already exists
So do I need to first remove the "root" alias before I can do this, or should I choose other methods for renewing the certificate? Or is there another way to renew/update the certificate?
To repeat, I am NOT talking about the initial installation/importation of the certificate, which is well documented. I am talking about the renewal/update of the certificate.
CentOS Linux release 7.6.1810 (Core)
OpenJDK Runtime Environment (build 1.8.0_212-b04), OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)