C# web development using HTTPS & SSL

M

Mark Rae

Hi,

Apologies if this isn't the appropriate forum to post this...

I've recently acquired an SSL certificate on my live web site which I
maintain and develop in C# / ASP.NET with VS.NET 2003. That means I can use
https://www.markrae.co.uk just as well as http://www.markrae.co.uk.
Therefore, I need to be able to simulate this on my development machine.

I followed the MSKB article How To Set Up Client Certificates
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/htm
l/secmod31.asp) to the letter, and am now experiencing the following
behaviour on my development machine:

1) If I browse to http://localhost/markrae, all is fine

2) If I browse to https://localhost/markrae, IIS pops the standard Security
Alert message (which I'd expect), saying that the Security Certificate was
issued by a company I have not chosen to trust etc. So I click Yes, and then
I get "Cannot find server or DNS Error", as if the site I'm trying to browse
to isn't there.

I'm clearly missing something glaringly obvious here...

Any assistance gratefully received.

Mark Rae
 
J

Joerg Jooss

Mark said:
Hi,

Apologies if this isn't the appropriate forum to post this...

I've recently acquired an SSL certificate on my live web site which I
maintain and develop in C# / ASP.NET with VS.NET 2003. That means I
can use https://www.markrae.co.uk just as well as
http://www.markrae.co.uk. Therefore, I need to be able to simulate
this on my development machine.

I followed the MSKB article How To Set Up Client Certificates
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/secmod/htm
l/secmod31.asp) to the letter, and am now experiencing the following
behaviour on my development machine:

1) If I browse to http://localhost/markrae, all is fine

2) If I browse to https://localhost/markrae, IIS pops the standard
Security Alert message (which I'd expect), saying that the Security
Certificate was issued by a company I have not chosen to trust etc.
So I click Yes, and then I get "Cannot find server or DNS Error", as
if the site I'm trying to browse to isn't there.

Seems to be an IIS configuration issue -- how is it related to C#?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Accessing SSL remote web service 4
Web Service and SSL 1
local https web site 2
Web Folder WebDAV HTTPS 2
SSL And ClickOnce 0
Enforcing SSL to be used 1
SSL and RPC over HTTPS 2
HTTPS (SSL) 1

Top