IIS 5 & IIS 6
how to make http be https
Last post Jan 31, 2008 10:39 PM by qbernard
Jan 07, 2008 06:22 AM|hardy|LINK
i have two page are default.aspx and login.aspx.
in IE, i click http://localhost:1043/TA/Default.aspx, then it run to default page.
i want when i click login in default.aspx, it run to login.aspx but use https.
how to make it?
Jan 07, 2008 11:26 PM|qbernard|LINK
1) make sure you got a SSL cert for the website.
HOW TO Set Up an HTTPS Service in IIS
HOW TO Enable SSL for All Customers Who Interact with Your Web Site
in Internet Information Services
2) then when redirecting to login.aspx, use https link instead of http.
and when posting the form use https as well.
Jan 28, 2008 10:20 PM|hardy|LINK
thx for information..
sory for long time to reply...
your url is teaching like this:
but in Directory Security, the secure communication is off, so can be choose it's edit..
how to make that on?
Jan 29, 2008 02:28 AM|qbernard|LINK
You will need to install the SSL first before you can configure the SSL settings.
Jan 29, 2008 10:31 AM|hardy|LINK
how to install ssl? where can i download the ssl program?
is there must request certificate from a third-party CA?
Jan 30, 2008 09:34 PM|hardy|LINK
now, i can create and install certificate in default website... in default website, i put my project is name Ta.
if i run my project in IE, all page in my project use https...
but i want only use https is some page like pay.aspx and login.aspx..
where should i setting?
Jan 31, 2008 08:03 AM|tomkmvp|LINK
Look at step #5 in your second post ...
Jan 31, 2008 11:27 AM|hardy|LINK
i have make like step5....
but all page can use http or https...
i don't understand..
in iis have virtual folder, i click view sertificate in directory security, after that i choose detail tab, and click edit property, and choose disable all purpose for this certificate.. and ok.
after that, i click edit in under view certificate.. i am not checklist anything.
then in pay.aspx, i clikc view certificate, choose enable all purpose for this certificate.. then in edit, i checklist require secure channel and require 128 encryption.
after that i run default.page. it can use http and can not use https. then i run to pay.aspx, it use https. then i click default.aspx, it use https and can http too..
is there something wrong with my setting in iis?
Jan 31, 2008 10:39 PM|qbernard|LINK
if you require entire website to be on https, then configure the require secure channel at website level.