Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu Jan 23, 2014 5:39 am 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
I have a server with 'Server Name Indication' enabled to allow it to host 2 sites each with their own SSL Cert. XP and IE do not support 'Server Name Indication' so it always complains that the certificate is not for the correct site. I'm move from Site A to Site B and will eventually close Site A.

IE on XP uses the SSL cert from Site A when trying to open Site B.

How can I get the SSL cert for Site B to be the default when 'Server Name Indication' fails on XP?


Thank you for any help.

_________________
Regards

Mark


Top
   
PostPosted: Thu Jan 23, 2014 6:29 am 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
Another site I read says "If you choose to use SNI and someone visits your secure site with a browser that doesn’t support SNI they will receive the default certificate and their browser will display a certificate-mismatch warning.". But how do I set which is the DEFAULT cert?

_________________
Regards



Mark


Top
   
PostPosted: Thu Jan 23, 2014 7:34 am 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
The default cert will be the one of the default(first) vhost listening on port 443. And for most webservers this is ordered alphabetically by default, based on the files in your sites-enabled/ folder. I believe nginx also supports the default_server directive.


Top
   
PostPosted: Thu Jan 23, 2014 7:51 am 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
Thank you, I will investigate the default_server directive.

If its alphabetical on my site/server name is there a way to get b.com serve the SSL cert and not a.com?

_________________
Regards



Mark


Top
   
PostPosted: Fri Jan 24, 2014 7:56 am 
Offline
Senior Member

Joined: Fri Feb 17, 2012 8:20 pm
Posts: 365
markunit wrote:
Thank you, I will investigate the default_server directive.

If its alphabetical on my site/server name is there a way to get b.com serve the SSL cert and not a.com?


It'll be alphabetical based on the filenames in your (usually) sites-enabled/ folder. If you want to prefer b.com over a.com you can name the file 0-b.com.(that's why a lot of default vhosts will be named 001-default.


Top
   
PostPosted: Fri Jan 24, 2014 3:44 pm 
Offline
Junior Member

Joined: Tue Nov 01, 2011 7:29 am
Posts: 30
Thanks thats great.

I will disable 'b.com', rename the file to 0.b.com then enable this site.

Thanks again.

_________________
Regards



Mark


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group