all groups > iis security > january 2007 >
You're in the

iis security

group:

SSL not working



SSL not working Tommy Forsman
1/31/2007 9:23:39 AM
iis security: Hi

Have tried to enable SSL on a SBS2003 but when I require SSL the website
stops to respond.

Have installed CA services
Have created Certificate request
Have "downloaded" the pending request
Have appended the certificate to the default website

But when I put a checkmark in Require Secure Channel both
https://servername/exchange and http://servername/exchange stops responding

Have used the http://www.msechange.org/tutorials/SSL_Enabling_OWA_2003.html
as help

What could be wrong?
Tomppa


Re: SSL not working David Wang
1/31/2007 4:20:21 PM
Use SSLDiag to diagnose your configuration.

http://www.microsoft.com/downloads/details.aspx?FamilyID=cabea1d0-5a10-41bc-83d4-06c814265282&DisplayLang=en

http://servername/exchange fails probably because of your HTTP->HTTPS
redirection (and https://servername/exchange is the one configuration
that fails). Because if HTTP is working prior to enabling "requiring
SSL" will only cause a 403.4 error to be returned, not stop
responding.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//



[quoted text, click to view]

Re: SSL not working Tommy Forsman
2/1/2007 12:29:46 PM
I dont get any 403 error just "Internet Explorer cannot display the webpage"

SSLdiag only gives one error about certificatechain

Tomppa

[quoted text, click to view]

Re: SSL not working David Wang
2/1/2007 2:32:47 PM
"Internet Explorer cannot display the webpage" is not the same as
"stops responding". To see the real error, you need to disable "Show
Friendly HTTP Errors" option in Internet Explorer. Please report the
real error.

SSLDiag must run clean.

Please give the real errors and full details of tool output so that
other people can attempt to help you.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//




[quoted text, click to view]

Re: SSL not working ohaya
2/1/2007 11:48:02 PM
Hi Tomppa,

I have to agree with David. SSLDiag is a pretty nice tool, and it's
saved me from many hair-pulling incidents. If it gives you an error,
you have to figure it out and fix it.

You indicated that it gave you an error about "certificatechain". I
suspect that you possibly may not have installed the CA's certificate(s)
into Windows?

Try double-clicking on the server cert that you got, then click on the
"Certification Path" tab. If you see any "red X", that means that the
server cert can't be validated to the root CA's cert.

Jim



[quoted text, click to view]
Re: SSL not working Tommy Forsman
2/2/2007 1:39:56 PM
This is what SSLdiag says:

#WARNING:CertVerifyCertificateChainPolicy returned
error -2146762480(0x800b0110)

#WARNING:Error 0x800b0110 : The server certificate is not valid for the
requested usage

How to fix: Install or assign the correct type of certificate. In IIS
Manager, right-click the Web site, and then click Properties. On the
Directory Security tab, click Server Certificate. In the wizard, install or
assign a server certificate.

I disabled "Show Friendly HTTP Errors" but I still get "Internet Explorer
cannot display the webpage"

Thanks for helping me.
Tomppa

[quoted text, click to view]

Re: SSL not working Tommy Forsman
2/2/2007 1:44:01 PM
See my post to David for the errors
Certification path says that certicate is ok

Tomppa

[quoted text, click to view]
Re: SSL not working David Wang
2/2/2007 2:40:55 PM
What type of certificate did you assign for SSL, and did you import
its private key into the LocalSystem's trusted store. You may want to
use a tool like SelfSSL from the IIS Resource Toolkit to set things up
automatically with a single command.
http://www.microsoft.com/downloads/details.aspx?FamilyID=56fc92ee-a71a-4c73-b628-ade629c89499&DisplayLang=en

http://www.microsoft.com/windowsserver2003/iis/diagnostictools/default.mspx

Now, until you fix the error identified by SSLDiag:

1. https://servername/exchange -- will keep failing with "Internet
Explorer cannot display the webpage" since SSL connection failed to
establish because the Server's Certificate is not valid for server use

2. http://servername/exchange -- likely setup to auto-redirect from
HTTP->HTTPS, at which point it will also fail in the same way as above
after the redirection

3. *IF* http://servername/exchange is not set up to auto-redirect,
then you would have gotten a 403.4 error response when you configured
"SSL Required", which you would see if "Show Friendly HTTP Errors" is
disabled in Internet Explorer. Since you did not see this, you have
probably configured auto-redirection.

In other words, just fix your server certificate. Just because it's
"ok" doesn't mean it is suitable. It's like at Immigration at US
Borders - when Border Patrol asks you for a valid Passport, you can't
just give them your Driver's License, even though both are valid.


//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//



[quoted text, click to view]

Re: SSL not working Tomppa
2/3/2007 3:10:22 PM
Hi
I have followed these steps:
http://www.msechange.org/tutorials/SSL_Enabling_OWA_2003.html

Tomppa

[quoted text, click to view]

AddThis Social Bookmark Button