Monthly Archives: July 2012

Multiple SSL sites bind to IIS using a named certificate

Sometimes you like to have multiple sites run with an SSL certificate to be accessed under port 443. If you use a wildcard certificate (*.domain.com) as I can recall there will be no problems. But if you use named certificates weird things are happening.

You bind the wright certificate to a site and up to the next one and so on. Then suddenly an error “the certificate is in use“? You start checking the bindings and everything is mixed up.

After a search on Bing I discovered it happens on IIS 6.0, 7.0 and 7.5 and probably also on 8.0 in server 2012 but I have not checked that. The solution below works for 7.0 and 7.5.

 

Steps

  1. First set the certificate in IIS and then bind it using the command described below.
  2. Go to  C:\Windows\system32\inetsrv in a command prompt and fill out the command below.

 

Example for a site with a named certificate intranet.domain.com:
Keep an eye out for the double and single quotes!

appcmd set site /site.name:”SITE NAME AS SHOWN IN IIS” /bindings.[protocol=’https’,bindinginformation=’*:443:’].bindinginformation:*:443:name.domain.com

 

appcmd set site /site.name:”intranet – 443” /bindings.[protocol=’https’,bindinginformation=’*:443:’].bindinginformation:*:443:intranet.domain.com

 

Hope it can help you,

 


How to get rid off the “Suggested Sites” button from the IE Favorite Bar

Some people hate it and some love it. I use the Favorite Bar in IE a lot and enable it by default on my browser. Just right-click an empty area near the address bar in IE and tick the Favorite Bar.

Only their will be a moment you have to many shortcuts on your bar and than you get an anoying little pulldown arrow on the rightside of the bar. If that’s the case just use favorites what they are for initially.

So I always keep the ammount till the little arrow appears and stop. But just to make some room I delete the default Suggested Sites thingy as I never ever ever used it. And now the anoying thing the little bugger always returns and pushes my über favorites from my Favorite Bar. I think it’s a conspericy with the little arrow.

Unfortunately we cannot delete it but we can disable it 🙂 anyways I just don’t want him to come back.

Here’s how to do it,

  1. Open a Run command Windows flag +R and type gpedit.msc
  2. Go to User Configuration >> Administrative templates >> Windows Components >> Internet Explorer
  3. Look for the “Turn on Suggested Sites” policy, double click and you see it never been configured. Just choos disable and your set to go.

Now it should not return anymore.