I have 2 domains domain1.com and domain2.com hosted on IIS server, both point to one IP address. I have a SSl cert issued for domain1.com. How do I decline https://domain2.com request before user sees name mismatch certificate error?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can’t. You need two IP addresses in order to make this work.
The HTTP
Hostparameter is what tells your server with virtual domain to use; it is “application data” and not sent until the SSL handshake (during which the server certificate is presented) has been completed.