Saturday, November 19, 2016

iis 7 - IIS 7.0 install two SSL certificates with two different host headers



I have two sites:



sub1.example.org

sub2.example.org



I have two SSL certificates for each of the above domains.



When install certificate #2 for sub2.example.org, it tells me:




At least one other site is using the
same HTTPS binding and the binding is
configured with a different

certificate




Is it not possible in any way to install these two certificates on one server?!


Answer



You can't assign different SSL certificates to sites that are only differentiated by host headers. You would need to have the sites on separate IP addresses.



Another option is to setup a wildcard SSL certificate (which you could then apply to all sites hosted under *.example.org on the server.) There is a catch though - you still can't apply the certificate through the GUI. Instead you need to use a command line to apply the certificate.



http://www.sslshopper.com/article-ssl-host-headers-in-iis-7.html

http://blogs.iis.net/thomad/archive/2008/01/25/ssl-certificates-on-sites-with-host-headers.aspx


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...