Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When in the browser url https doamin.com OK! When in the browser url https 12.34.567.89 problem with certificate! How can I view the location of the problem with the certificate error page? Thank you

setup apache2 enter link description here

share|improve this question

migrated from stackoverflow.com Aug 30 '12 at 21:20

This question came from our site for professional and enthusiast programmers.

1 Answer 1

up vote 1 down vote accepted

Probably because your certificate is registered to a hostname, and when you access the site with your IP, the CN on the cert doesn't match the IP (it matches your hostname) so the browser gives you grief.

share|improve this answer
    
Yes I know, but how to display an error instead of a warning ssl certificate? –  Charlie Aug 29 '12 at 23:09
2  
@Charlie You can't. Your website doesn't even get the request, at the point the SSL handshake is made, the browser raises a red flag, and the request is never even sent to the server. –  Jon Lin Aug 29 '12 at 23:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.