I was trying to add a new certificate to our truststore. But I got the
alias already exists error.
I can't remove the old certificate yet, but I have to add the new certificate.
Will it matter if I imported the renewed certificate on a different alias?
The existing certificate alias:
I'm planning to use:
Here is the command I use to import the new certificate:
keytool -import -trustcacerts -keystore keystore_trust.jks -storepass passwordhere -noprompt -alias "*.example.domain.com" -file /temp/cert/cert.pem
I know the command will still work, but will this result in any certificate-related error?