Conjur - Hostname does not match the server certificate
Symptom
error: hostname "my-conjur-deployment" does not match the server certificate
Environment
12.0;12.1;12.2;12.5;12.6;12.7 Conjur
Cause
The hostnames on your Conjur certificate do not match the name you’re trying to access Conjur with. When initially configuring your Conjur master, a hostname parameter is specified to set the common name on your Conjur master certificate. To fix this, you can either use the hostname provided during configuration, or add new alternative hostnames to your certificate using evoke.
Resolution
To add a new alt-name, run the command specified below:$ evoke ca regenerate $NEW_HOSTNAME
Reference:-
https://docs.cyberark.com/Product-Doc/OnlineHelp/AAM-DAP/12.4/en/Content/Tools/Evoke-command-reference.htm#Regenerate
Note : 'evoke ca Issue/regenerate' commands are relevant for a self-signed certificate only. More details on 'evoke' command can be found on this link : https://community.cyberark.com/s/article/Conjur-Evoke-Command
Additional Information
Details
The hostnames on your Conjur certificate do not match the name you’re trying to access Conjur with. When initially configuring your Conjur master, a hostname parameter is specified to set the common name on your Conjur master certificate. To fix this, you can either use the hostname provided during configuration, or add new alternative hostnames to your certificate using evoke.
$ evoke ca regenerate $NEW_HOSTNAME