How do I apply SSL certificates to multiple websites?

Posted on 2008-11-19
Last Modified: 2012-05-05
Box 1 is a Win 2003 server with DC, DNS, AD
Box 2 is a Win 2003 server with IIS.  It has a single NIC with IPs,,

In DNS I have 2 Host (A) entries: for for

In IIS I have 2 webs:

Both webs use port 80 and port 443.
App1 is assigned for both ports
App2 is assigned for both ports

I generated the following certificate with selfssl as follows:
selfssl /t / /v:365 /s:67793743
selfssl /t / /v:365 /s:74919743

My problem:  Both apps work at all time without SSL (http://...) But with SSL (https://...) only one of my web apps will work at a time.  To fix the broken one, I remove its SSL certificate then recreate it with selfssl.  However, this breaks the other app.  The IE error I get is: Internet Explorer cannot display the webpage.

I have limited experience with SSL certificates.  What I am doing wrong?  Thanks in advance.
Question by:acb55
    LVL 29

    Expert Comment

    Are you generating two SSL certs - one for the app1 and one for app2?

    What is the exact error message you are getting?

    Author Comment

    Yes I am generating two SSL certs.

    The full error text from IE is:

      Internet Explorer cannot display the webpage
       Most likely causes:
    You are not connected to the Internet.
    The website is encountering problems.
    There might be a typing error in the address.
       What you can try:
         Check your Internet connection. Try visiting another website to make sure you are connected.  
         Retype the address.  
         Go back to the previous page.
         More information

    This problem can be caused by a variety of issues, including:

    Internet connectivity has been lost.
    The website is temporarily unavailable.
    The Domain Name Server (DNS) is not reachable.
    The Domain Name Server (DNS) does not have a listing for the website's domain.
    If this is an HTTPS (secure) address, click tools, click Internet Options, click Advanced, and check to be sure the SSL and TLS protocols are enabled under the security section.  

    Author Comment

    With Google Chrome, I get the following error:

    Error 104 (net::ERR_CONNECTION_FAILED): The attempt to connect to the server failed.

    Accepted Solution


    I replaced my 2 certificates with a single wild card certificate.  I followed these instructions:

    Note sure if this SSL bug was a factor but I though I would mention for the benefit of someone else with similar issues.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
    Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    Sending a Secure fax is easy with eFax Corporate ( First, Just open a new email message.  In the To field, type your recipient's fax number You can even send a secure international fax — just include t…

    732 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now