473,505 Members | 14,618 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# web development using HTTPS & SSL

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/de...-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
Nov 16 '05 #1
2 5021
Mark Rae wrote:
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/de...-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#?

--
Joerg Jooss
jo*********@gmx.net

Nov 16 '05 #2
"Joerg Jooss" <jo*********@gmx.net> wrote in message
news:e1**************@TK2MSFTNGP10.phx.gbl...
Apologies if this isn't the appropriate forum to post this...
Seems to be an IIS configuration issue -- how is it related to C#?


Thanks for all your help.
Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
2600
by: Troot | last post by:
Hi all, In mind this is a daft question, but here goes. My hosts allow secure https logins on specific directories. What I want to do is have a login screen in flash, if the user enters the...
3
2582
by: Phillip | last post by:
Some people tipped me off on some possibilities to tackle my https problem. Those have definitely gotten me further in cornering the problem. Thank you. But: No matter what I do to open a...
0
2912
by: Robert | last post by:
did you solve this problem? It seems to be still present here with py2.3.5. Robert -- From: Manish Jethani <manish.j@gmx.net> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US;...
1
1591
by: dryer | last post by:
I'm trying to pass some values back and forth between a main page (on https) and a child window (on http) and keep getting 'Access Denied' messages. I know this is a security issue with the...
3
3111
by: zn | last post by:
This is a beginner question. I need to create a page that is encrypted by SSL. The web server is already serving SSL encrypted web pages with "https" before the link. Do I need to do anything other...
0
334
by: Krishna | last post by:
Well, I got it working when running against my test server (IIS5 W2K svr, I will attach a sample of the code at the bottom of this message), but now I'm connecting to our client (Apache) I'm...
1
2808
by: dmbkiwi | last post by:
I've been using urllib2 to try and automate logging into the google adsense page. I want to download the csv report files, so that I can do some analysis of them. However, I don't really know...
3
1501
by: Wm. Scott Miller | last post by:
We have been looking at how to develop in a team environment where our servers are all Windows Server 2003 (IIS 6.0) and all our development machines are Windows XP (IIS 5.1). We are doing all...
0
3895
by: ronscottlangham | last post by:
I have a WCF Web Service that I develop using the ASP.NET Development Server in Visual Studio. In release, the web service will support both HTTP and HTTPS. Initially I had only HTTP configured in...
0
7098
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7018
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5613
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5028
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4699
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3187
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3176
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
754
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
407
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.