Solved

ISS SSL Configuraiton

Posted on 2007-11-29
7
607 Views
Last Modified: 2012-05-05
Hi,

I wanna enable SSL within a site for just a form submitting. Think like my domain is "www.xxx.com " while surfing this site
SSL is not enabled but within a site when i submit a form i want to enable SSL is that possible ??

Regards,
0
Comment
Question by:pazwant
  • 3
  • 2
7 Comments
 
LVL 11

Accepted Solution

by:
Sven earned 125 total points
Comment Utility
You have to get a ssl certificate by your web hoster (if it is part of your contract) or by a organization like VeriSign. The details of how to request and receive a ssl certificate a printed on the websites of these organizations like here:
http://www.verisign.com/support/ssl-certificates-support/install-ssl-certificate.html

You need to enable port 43 for your website. I do not think you can restrict ssl per page, so a call of https:// from a user via browser is allways served by ssl. You could only redirect per script to non-ssl script.
0
 
LVL 1

Author Comment

by:pazwant
Comment Utility
I mean , is it possible to open a page with http://www.xxx.com/index.htm and then shift to
https://www.xxx.com/login.htm . During this changing do the users get any message from browser
except accepting SSL certificate ?
0
 
LVL 11

Expert Comment

by:Sven
Comment Utility
Normally there is not even a message that they are changing to ssl, if the certificate is valid. To submit a form per ssl you only need to add the absolute url with domain and https:// to the action of form:

<form action="https://www.xxx.com/login.htm" method="POST" name="LoginForm">

Open in new window

0
 
LVL 1

Author Comment

by:pazwant
Comment Utility
Oki but what about if the user call https://www.xxx.com , i just want SSL certificate valid for login.htm. Is that possible on IIS just giving a directory for SSL enabled?
0
 
LVL 11

Expert Comment

by:Sven
Comment Utility
The only way I can think of, is to create a virtual directory within your web applications root. For this virtual directory you can define a ssl certificate but you should NOT define the virtual directory as own application because then you could definitly not share session across the web root and the virtual directory. Put the login script within this virtual directory and try it out!

I never tried that myself. I do not know if session state is really shared within root and virtual directory. Also I do not know if the SSL certificate is working within the directory. But it's worth a try I think.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

What is an ISAPI filter?   •      It's an assembly (.dll file) that can add or change the way IIS works.   •      They can be enabled globally for your web server or on a site-by-site basis.   When the IIS server receives a request, enabling the ISAPI fi…
Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
This video discusses moving either the default database or any database to a new volume.
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now