473,396 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

IIS, SSL and my local machine.

I really hope this is the place to go for an answer to this question.

I am coding a web project on my laptop. I need to write some code that will involve https for the payment part of the app.
However, I can't find a way to create a new website in XP Professional, only subwebs. Also, I can't seem to get https to work with
the IIS on my laptop too.

I tried giving my machine a static IP, but that did not work.

How do you do this?

Thanks.
Nov 15 '05 #1
16 5680
Since Windows XP isn't a server opperating system, you can only have one 1 website. If you want more you need to change to a server opperating system (Windows Server 2003, Windows 2000)

For SSL (https); Once you install a certificate on a Web Site, you can change the SSL port for the site. You have two options for creating and installing certificates. You can use your own Cetificate Services to generate your certificates or you can use a trusted third-party authority. When you use Certificate Services, you manage the certificate creation, expiration, and revocation process. When you create certificates through trusted third-party authorities, you let the trusted authority mangae the certificate creation, expiration, and revocation process. Either way, the basic tasks you need to preform, create, and install a certificate are as follows

1. Create a certificate request. Each web site hosted on your Web server needs a seperate certificate if you want SSL to work properly. The first step in the certificate creation process is to generate a certificate request. You can generate a certificate request by completing the following steps
1. In the IIS snap-in, right click your site and select properties
2. Fromt he Directory Security tab, select Server Certificate. This starts the Web Server Certificate Wizard. Click Next
3. Click "Create a new Certificate", Next..
4. Click next again..
5. Next Fill in the certificate name and select a bit length. THe name should be descriptive. The bit legnth sets the encryption strneght of your public and private keys. In most cases you should select the highest you can. HIT NEXT
6. Enter your organization information in the fields provided. blah bal
7. Type your computers name, should be there already
8. Enter the geographic information for you company. hit next! (Dont use abbreviations.
9. Selcect a spot to store your certificate request file
10. click next and finish then your done with the request generation process

Now you have to submit it to a third party Authority such as En-Trust, Equifax, Valicert or Verisign. THe certificat=signing requerst is stored as ASCII text int he fiel you specified. Most Certificate Authorities (CAs) have you submit the crticiate request as a part of a formal site registration process. In theis registration process, you'll be asked to submit the rquest file ina n email or though an online form. WHen using email you simply attqach the requts fiel to the email and send it. WHe using an online form you must copy the entire text of the file and past it to the form

After the CA review yoru certificate request the ca will either approce or decline your request. If the CA approvces the rquest you will recive an email with the signed certificate attached or a notice to visit a location where you can retrieve the signed certificate. Ther verificat is an ASCII text file that you can view in Notepad, and it can onlyb e decryped with the privat key you generated perviosly. Once you get all that done, ask me how to install it

Nov 15 '05 #2
Alex,

Thanks for taking the time to write such an informative response.

I have already installed a certificate that was issued from our domain CA. I already have it working on our qa server as well as
our production server (just a test until we get our "real" certificate). It works over the internet as well as locally.

My problem is that once I have the cert installed on my computer, I cannot access the site on the local web server using https. I
have even given my laptop a fixed ip and registered it in DNS. Even when I use the fixed name of the computer instead of local host
it will not work.

I created three different certificates, using localhost, the NetBIOS name and the FQDN of the machine. I could not get any of them
to work.

Is there something else I have to do to get this to work?

Thanks.

"Alex Egg" <eg****@verizon.net> wrote in message news:10**********************************@microsof t.com...
Since Windows XP isn't a server opperating system, you can only have one 1 website. If you want more you need to change to a server opperating system (Windows Server 2003, Windows 2000).
For SSL (https); Once you install a certificate on a Web Site, you can change the SSL port for the site. You have two options for creating and installing certificates. You can use your own Cetificate Services to generate your certificates or you can use a
trusted third-party authority. When you use Certificate Services, you manage the certificate creation, expiration, and revocation
process. When you create certificates through trusted third-party authorities, you let the trusted authority mangae the certificate
creation, expiration, and revocation process. Either way, the basic tasks you need to preform, create, and install a certificate are
as follows:
1. Create a certificate request. Each web site hosted on your Web server needs a seperate certificate if you want SSL to work properly. The first step in the certificate creation process is to generate a certificate request. You can generate a certificate
request by completing the following steps. 1. In the IIS snap-in, right click your site and select properties.
2. Fromt he Directory Security tab, select Server Certificate. This starts the Web Server Certificate Wizard. Click Next.
3. Click "Create a new Certificate", Next...
4. Click next again...
5. Next Fill in the certificate name and select a bit length. THe name should be descriptive. The bit legnth sets the encryption strneght of your public and private keys. In most cases you should select the highest you can. HIT NEXT. 6. Enter your organization information in the fields provided. blah balh
7. Type your computers name, should be there already.
8. Enter the geographic information for you company. hit next! (Dont use abbreviations.)
9. Selcect a spot to store your certificate request file.
10. click next and finish then your done with the request generation process.

Now you have to submit it to a third party Authority such as En-Trust, Equifax, Valicert or Verisign. THe certificat=signing requerst is stored as ASCII text int he fiel you specified. Most Certificate Authorities (CAs) have you submit the crticiate request
as a part of a formal site registration process. In theis registration process, you'll be asked to submit the rquest file ina n
email or though an online form. WHen using email you simply attqach the requts fiel to the email and send it. WHe using an online
form you must copy the entire text of the file and past it to the form.
After the CA review yoru certificate request the ca will either approce or decline your request. If the CA approvces the rquest you will recive an email with the signed certificate attached or a notice to visit a location where you can retrieve the signed
certificate. Ther verificat is an ASCII text file that you can view in Notepad, and it can onlyb e decryped with the privat key you
generated perviosly. Once you get all that done, ask me how to install it.

Nov 15 '05 #4
um, can you show me what exactly your typing into the address bar
Nov 15 '05 #5
Alex,

Thanks for taking the time to help. Here is some relevant information.

My machine NetBIOS name is: mikemalter
My FQDN is: mikemalter.joyousliving.com
I have a static IP and it is in our DNS.
I can successfully ping my machine using NetBIOS name as well as the FQDN
I have tried this with three different certs.

Look at the list below for the cert common name and URL pairs.

cert common name->URL I type in
1.) localhost->http://localhost/ClassReunion/index.aspx (works)
2.) localhost->https://localhost/ClassReunion/index.aspx (fails)
3.) mikelaptop->http://mikelaptop/ClassReunion/index.aspx (works)
4.) mikelaptop->https://mikelaptop/ClassReunion/index.aspx (fails)
5.) mikelaptop.joyousliving.com->http://mikelaptop/ClassReunion/index.aspx (works)
6.) mikelaptop.joyousliving.com->https://mikelaptop/ClassReunion/index.aspx (fails)

For grins I put a single page in wwwroot, default.htm which says hello world.
1.) localhost->http://localhost (works)
2.) localhost->https://localhost (fails)
3.) mikelaptop->http://mikelaptop works)
4.) mikelaptop->https://mikelaptop (fails)
5.) mikelaptop.joyousliving.com->http://mikelaptop (works)
6.) mikelaptop.joyousliving.com->https://mikelaptop (fails)

The cert is in IIS as I have double checked the port number 443 and have viewed the cert. I have also experimented with setting the
IP address in the web site tab from all unassigned to the hard IP of the box.

No matter what I do I get the IIS Cannot find server error page.

Any help would be greatly appreciated as all the developers are working off of their laptops.

Thanks.

Mike
"Alex Egg" <eg****@verizon.net> wrote in message news:EE**********************************@microsof t.com...
um, can you show me what exactly your typing into the address bar?

Nov 15 '05 #6
Are you there? Did you fix it. I'm pretty sure your problem is when you were making the file in IIS

check out the picture of the form on my last post. What you put in that text box should be exactly how you type your address in IE's addresss bar

look I set up SSL really fast on my server. I even signed my OWN certificate for FREE

https://eggfamily.no-ip.or

if anyone want's a certificate, just ask. I'd be gald to issue one for you

Nov 15 '05 #7
I just posted something, and I think I chose "Close" on accident

Anyways, I'm pretty sure your prblem was the previous stated. When you were at this screen

https://eggfamily.no-ip.org/images/ssl.jp

You didn't enter your address correctly. in that box you should enter EXACTLY what you put in Internet Explorer's address bar to get to your site. (like... https://mikemalter.joyousliving.com, or whatever.

Actually, I set up SSL on my IIS really fast.

https://eggfamily.no-ip.org

I even signed the certificate MYSELF. for FREE

Anyways, if that's not it. Let me know. If anyone wants a certifiacte, just ask. I'll sign one for free.
Nov 15 '05 #8
Alex,

I clicked on the link and got the following page:

The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

--------------------------------------------------------------------------

Please try the following:

a.. Click the Refresh button, or try again later.

b.. Open the eggfamily.no-ip.org home page, and then look for links to the information you want.
c.. If you believe you should be able to view this directory or page, please contact the Web site administrator by using the
e-mail address or phone number listed on the eggfamily.no-ip.org home page.
10061 - Connection refused
Internet Security and Acceleration Server

--------------------------------------------------------------------------

Technical Information (for support personnel)

a.. Background:
The server you are attempting to access has refused the connection with the gateway. This usually results from trying to
connect to a service that is inactive on the server.

b.. ISA Server: MMANT2.joyousliving.com
Via:

Time: 3/1/2004 7:45:35 PM GMT

"Alex Egg" <eg****@verizon.net> wrote in message news:39**********************************@microsof t.com...
When you got to this form via the IIS process...

http://eggfamily.no-ip.org/images/ssl.jpg

did you enter "http://..." or "https://"?

Nov 15 '05 #9
Alex,

All I got was a blank page.

I think there may be a misunderstand here. I can make SSL work on any of our servers, just not on my development machine which is
running XP Professional.

You got that part right?

"Alex Egg" <eg****@verizon.net> wrote in message news:1F**********************************@microsof t.com...
Are you there? Did you fix it. I'm pretty sure your problem is when you were making the file in IIS.

check out the picture of the form on my last post. What you put in that text box should be exactly how you type your address in IE's addresss bar.
look I set up SSL really fast on my server. I even signed my OWN certificate for FREE.

https://eggfamily.no-ip.org

if anyone want's a certificate, just ask. I'd be gald to issue one for you.

Nov 15 '05 #10
Alex,

I really appreciate your help and I know it should work. I have typed in my address correctly.

When I type in http://mikelaptop.joyousliving.com I get the page, when I type in https://mikelaptop.joyousliving.com I get the
following error:

The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may
need to adjust your browser settings.

--------------------------------------------------------------------------

Please try the following:

a.. Click the Refresh button, or try again later.

b.. If you typed the page address in the Address bar, make sure that it is spelled correctly.

c.. To check your connection settings, click the Tools menu, and then click Internet Options. On the Connections tab, click
Settings. The settings should match those provided by your local area network (LAN) administrator or Internet service provider
(ISP).
d.. If your Network Administrator has enabled it, Microsoft Windows can examine your network and automatically discover
network connection settings.
If you would like Windows to try and discover them,
click Detect Network Settings
e.. Some sites require 128-bit connection security. Click the Help menu and then click About Internet Explorer to determine
what strength security you have installed.
f.. If you are trying to reach a secure site, make sure your Security settings can support it. Click the Tools menu, and
then click Internet Options. On the Advanced tab, scroll to the Security section and check settings for SSL 2.0, SSL 3.0, TLS 1.0,
PCT 1.0.
g.. Click the Back button to try another link.

Cannot find server or DNS Error
Internet Explorer
My problem is that I am trying to troubleshoot this problem and I am looking for ideas and assistance.

Mike

"Alex Egg" <eg****@verizon.net> wrote in message news:C1**********************************@microsof t.com...
I just posted something, and I think I chose "Close" on accident.

Anyways, I'm pretty sure your prblem was the previous stated. When you were at this screen.

https://eggfamily.no-ip.org/images/ssl.jpg

You didn't enter your address correctly. in that box you should enter EXACTLY what you put in Internet Explorer's address bar to get to your site. (like... https://mikemalter.joyousliving.com, or whatever.)
Actually, I set up SSL on my IIS really fast.

https://eggfamily.no-ip.org/

I even signed the certificate MYSELF. for FREE.

Anyways, if that's not it. Let me know. If anyone wants a certifiacte, just ask. I'll sign one for free.

Nov 15 '05 #11
Dear Mike,

From my understanding to this issue, you are going to provide the SSL
service in your windows XP professional OS.

Since Windows XP is the personal-desktop OS, it is not suggested or
recommended by Microsoft to provide SSL service in Windows XP professional
version and the IIS in windows XP is version 5.1 which can only create one
web site to provide the internet service.

In your scenario, if you only want to use the Windows XP, I'd suggest one
3rd party link will introduce all the necessary information for you
regarding the SSL configuration in Windows XP.
http://www.somacon.com/iis_ssl/

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

This reply contains a reference to a third-party World Wide Web site.
Microsoft is providing this information as a convenience to you. Microsoft
does not control these sites and has not tested any software or information
found on these sites; therefore, Microsoft cannot make any representations
regarding the quality, safety, or suitability of any
software or information found there. There are inherent dangers in the use
of any software found on the Internet, and Microsoft autions you to make
sure that you completely understand the risk before retrieving any software
from the Internet.

Nov 15 '05 #12
Don't you also need to register the certificate on the client as well?
Nov 16 '05 #13
Don't you also need to register the certificate on the client as well?
Nov 16 '05 #14
Don't you also need to register the certificate on the client as well?
Nov 16 '05 #15

Alex Hi

Can you possibly send me info on how you set up a Certificate that you
sign on your own?

Regards

Meir

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 16 '05 #16
http://www.dylanbeattie.net/docs/ope...ssl_howto.html

Hope it helps

--
Tamir Khason
You want dot.NET? Just ask:
"Please, www.dotnet.us "
"Meir Rotfleisch" <me**@mrrcomputers.cc> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...

Alex Hi

Can you possibly send me info on how you set up a Certificate that you
sign on your own?

Regards

Meir

*** Sent via Devdex http://www.devdex.com ***
Don't just participate in USENET...get rewarded for it!

Nov 16 '05 #17

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

Similar topics

0
by: dB | last post by:
I want to load an applet locally from the client's hard drive from an html/jsp page served by Tomcat on the local machine or a remote server. The motivation is that I need to print to the local...
0
by: R. Clausen | last post by:
Have two machines with Win 2K 5.00.2195 (Machine 'A' has SP4, Machine 'B' has SP3) and both have DB2 UDB v8.1 FP4 all loaded fresh (not an upgrade). Machine 'A' gives the error 'Logon failure:...
6
by: Jim H | last post by:
I have an app I working on that was working fine a few days ago. Now I get a jscript error: Microsoft JScript runtime error: Object expected in a part of the code that has not been modifed or...
10
by: Woody Splawn | last post by:
I have been developing a ClientServer application on one machine at my office but the time has come to transfer it to the customer. The customer is running a Windows 2000 local area network. I...
3
by: Robin Tucker | last post by:
I'm fetching a list of SQL servers on a domain using a function that returns strings, including "(local)" for the local machine (if it has an SQL server on it). Now, presumably in a different...
2
by: adam | last post by:
Hi ASP Expert, My goal is to retrieve my local machine's %USERNAME% environment variable from ASP page. When I enter http://RemoteServerName/testusername.asp?id=%USERNAME% directly into the IE...
3
by: W C Hull | last post by:
We have a request from Auditing to modify the password an a local workstation administrative account every 90 days. We are developing two programs - a VB6 GUI program that will allow the...
8
by: Michael Howes | last post by:
I have some code that manages local user logins. When I create a new user I want to set the password to expire every x days and the number of failed login attempts before the account is...
4
by: quincy451 | last post by:
I am running MS SQL 2000 server. The table involved is only about 10,000 records. But this is the behavior I am seeing. The local machine is querying the table looking for a particular record....
5
by: =?Utf-8?B?SmVycnkgQw==?= | last post by:
I have a app that uses several membership/role providers. I can list these Providers with the code: Dim rootWebConfig1 As Configuration rootWebConfig1 =...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...

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.