SSL and local web server.

  • Thread starter Thread starter Mike Malter
  • Start date Start date
M

Mike Malter

I am having problems using https when calling a page on my local machine. I am running XP professional. All I get is a general
error page telling me there are problems with my page.

I have installed a certificate from our domain CA on the single web site allowed in IIS 5.1. I've successfully installed certs on
our qa and prod sites from our domain CA too. Everything works fine on both of those sites (yes, I am using a non trusted domain on
our prod site, but it is not live yet and I am just testing it).

I've tried using a common name of localhost, the NetBIOS name of the machine as well as the FQDN and I get the same error with any
of those certificates.

I must be missing something, I mean you should be able to do https on the local web server on XP Professional, right? All I want to
do is to code some pages and make sure they work using https without having to create another site on a server and uploading my code
everytime I want to test.

Any ideas?

Thanks,

Mike
 
Hi Mike,

A certificate is tied to a specific domain, so tying it to localhost isn't
going to work.

The easiest way to do what you want is to create the certs on teh live
server. Make sure it works there. Then back up the cert from teh live server
and install it on your local machine from the backup.

You will get a pop that warns that the domain doesn't match but it will go
on after that...

+++ Rick ---

--

Rick Strahl
West Wind Technologies
http://www.west-wind.com/
http://www.west-wind.com/weblog/
----------------------------------
Making waves on the Web


Mike Malter said:
I am having problems using https when calling a page on my local machine.
I am running XP professional. All I get is a general
error page telling me there are problems with my page.

I have installed a certificate from our domain CA on the single web site
allowed in IIS 5.1. I've successfully installed certs on
our qa and prod sites from our domain CA too. Everything works fine on
both of those sites (yes, I am using a non trusted domain on
our prod site, but it is not live yet and I am just testing it).

I've tried using a common name of localhost, the NetBIOS name of the
machine as well as the FQDN and I get the same error with any
of those certificates.

I must be missing something, I mean you should be able to do https on the
local web server on XP Professional, right? All I want to
do is to code some pages and make sure they work using https without
having to create another site on a server and uploading my code
 
Rick,

I don't understand. The domain I am developing the site for is Joyousliving.com. I have a www.joyousliving.com on the production
server and that works fine. I actually got a cert via the IIS server on my laptop from our domain CA with a common name of
mikelaptop.joyousliving.com for IIS on my laptop. I have a DNS host record for my machine which is mikelaptop.joyousliving.com.

I can do http://mikelaptop.joyousliving.com/ClassReunion in my browser and I get the site. when I use https, I don't get the site.

How will backing up the cert from the production machine help me when I already have a cert from our CA for my machine?

Thanks.

Mike
 
Back
Top