Link to home
Start Free TrialLog in
Avatar of Bob Schneider
Bob SchneiderFlag for United States of America

asked on

Default SSL Site

How do I create a default ssl site on my windows 2016 server running iis 10?  Also, what is the need for this.  I currently have three sites with their own certificates.  When setting up the bindings I selected "Require Server Name Identification" so they wouldn't all try to use the same certificate.  But I do have a message that says, "No default SSL site has been created..."
ASKER CERTIFIED SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Aside: With Apache this occurs via...

1) A self-signed (SnakeOil) certificate can be created by installing the ssl-cert package.

2) When the main apache2 package is installed, /etc/apache2/default-ssl.conf contains references to the SnakeOil cert.

3) If you then enable this config file (a2ensite default-ssl.conf && service apache2 reload), then you have a default SSL config.

And, there's not really any point, since this will be treated as a bogus site by most browsers.

4) If you really must cover an IP with a cert (true issuance chain), you can do likely do this using https://LetsEncrypt.org as it's unlikely any other cert provider will allow IP only coverage (rather than FQDN or FQHN - fully qualified domain/host name).

And this is rarely done, as there's no real point.

I guess if you're running some Dark Net service with no DNS entries for host/domain IP resolution, this might be an application for IP only cert coverage.

No other application for IP only cert coverage comes to mind.

5) Most people just ignore this case, then if someone visits an IP, they get a server down or some other message.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bob Schneider

ASKER

Thanks.  BTW s3s3 do you have multiple ssl sites on the same server with their own certificate?  When I don't select Require Server Name Identification it tries to assign the same ssl certificate to all sites.  I'll keep plugging.  Thanks.
Yes I do have multiple sites on the same server with different certs.
You'll need to set the bindings for each site separately.

Yeah I did that but each time I got a message that indicated that this cert was being used by another site... or something similar.  When I went ahead with it, it messed up the other sites.  I found somewhere that if you select Require Server Name Identification then that won't happen and that seemed to work.