Conjur - Hostname does not match the server certificate

Conjur - Hostname does not match the server certificate

117
Created On 11/10/26 11:04 AM - Last Modified 11/10/26 12:57 PM


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

SYMPTOM: -
error: hostname "my-conjur-deployment" does not match the server certificate

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.
 

PROBLEM: -
Hostname does not match the server certificate 
 
SOLUTION: -
To add a new alt-name, run the command specified below:
$ evoke ca regenerate $NEW_HOSTNAME



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000uQYCAY&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail