Ryan
Ryan

Reputation: 13

Certificate Error Accessing HTTPS by IP Address

So, I've gone through the process of ensuring the certificate has the IP address in the subject alternative name, but when I go to visit the site via IP, it says that name does not match the certificate. The IP is obviously listed in the certificate and the CA Chain is trusted, but for some reason it continues to throw the warning. I am still waiting for the DNS names to be created, so I cannot yet test if it has the error with the DNS name.

Upvotes: 1

Views: 1692

Answers (1)

Steffen Ullrich
Steffen Ullrich

Reputation: 123320

In theory the IP address has to be listed in the SAN section as type IP, not DNS. In practice some broken applications require it the other way. Try to enter it as both IP and DNS to make it work in all cases.

I am still waiting for the DNS names to be created, so I cannot yet test if it has the error with the DNS name.

Just add the relation between name and IP address to the local hosts file on the computer. Then you don't have to wait for propagation of DNS setups.

Upvotes: 2

Related Questions