You see the error "Insufficient access: hostname in subject of request 'localhost' does not match principal hostname" when checking cert status
Issue
When checking the status of IDM certs, you see the following error:
# getcert list
Number of certificates and requests being tracked: 8.
Request ID '20180601095210':
status: CA_REJECTED
ca-error: Server at https://ipaserver.example.com/ipa/xml denied our request, giving up: 2100 (RPC failed at server. Insufficient access: hostname
in subject of request 'localhost' does not match principal hostname 'ipaserver.example.com').
...
Environment
- IDM
- certmonger
- PKI
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.