Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

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.