Postman SSL Error: Hostname/IP does not match certificate's altnames #888
Unanswered
Curtis-Lockley
asked this question in
Q&A
Replies: 1 comment 6 replies
-
"SSL Error: Hostname/IP does not match certificate's altnames." is a classic TLS error. That means that the hostname you used when issuing the server certificate is not "localhost". You should use the correct hostname, which is encoded in the server certificate in your URL. |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
The issue
In Postman I have added my ManagementCA.pem as a CA certificate. I have also added my generated .p12 client certificate and tried to do the GET request https://localhost:443/ejbca/ejbca-rest-api/v1/certificate/status. However it shows the error message SSL Error: Hostname/IP does not match certificate's altnames. Does anyone know how to resolve this issue?
Additonal Context
I have worked through the following tutorials as I am new to EJBCA:
This is my docker compose file
I have also made sure all the CA services are active:

I have also ensured that REST Certificate Management is enabled in the system configuration

I have enrolled the end entity on the RA Web by going:
My ejbca container has the hostname ejbca-node1, but I am trying to do the get request using localhost as I am unable to access the container using ejbca-node1. I would've accessed the web ui through https://localhost/ejbca/adminweb.
Beta Was this translation helpful? Give feedback.
All reactions