locked
how to make http be https RRS feed

  • Question

  • User1786423229 posted

    hello all...

    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?

    thx... 

    Monday, January 7, 2008 6:22 AM

Answers

  • User989702501 posted

    well,

    1) make sure you got a SSL cert for the website.
    HOW TO Set Up an HTTPS Service in IIS
    http://support.microsoft.com/?id=324069

    HOW TO Enable SSL for All Customers Who Interact with Your Web Site
    in Internet Information Services
    http://support.microsoft.com/?id=298805

    2) then when redirecting to login.aspx, use https link instead of http.
    and when posting the form use https as well.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Monday, January 7, 2008 11:26 PM

All replies

  • User989702501 posted

    well,

    1) make sure you got a SSL cert for the website.
    HOW TO Set Up an HTTPS Service in IIS
    http://support.microsoft.com/?id=324069

    HOW TO Enable SSL for All Customers Who Interact with Your Web Site
    in Internet Information Services
    http://support.microsoft.com/?id=298805

    2) then when redirecting to login.aspx, use https link instead of http.
    and when posting the form use https as well.

    • Marked as answer by Anonymous Tuesday, September 28, 2021 12:00 AM
    Monday, January 7, 2008 11:26 PM
  • User1786423229 posted

    thx for information..

    sory for long time to reply...

    your url is teaching like this:

     

    Configure Folder or Web Site to Use SSL/HTTPS

    <script type="text/javascript">loadTOCNode(3, 'summary');</script> This procedure assumes that your site has already has a certificate assigned to it.
    1. Log on to the Web server computer as an administrator.
    2. Click Start, point to Settings, and then click Control Panel.
    3. Double-click Administrative Tools, and then double click Internet Services Manager.
    4. Select the Web site from the list of different served sites in the left pane.
    5. Right-click the Web site, folder, or file for which you want to configure SSL communication, and then click Properties.
    6. Click the Directory Security tab.
    7. Click Edit.
    8. Click Require secure-channel (SSL) if you want the Web site, folder, or file to require SSL communications.
    9. Click Require 128-bit encryption to configure 128-bit (instead of 40-bit) encryption support.
    10. To allow users to connect without supplying their own certificate, click Ignore client certificates.

    Alternatively, to allow a user to supply their own certificate, use Accept client certificates.
    11. To configure client mapping, click Enable client certificate mapping, and then click Edit to map client certificates to users.

    If you configure this functionality, you can map client certificates to individual users in Active Directory. You can use this functionality to automatically identify a user according to the certificate they supplied when they access the Web site. You can map users to certificates on a one-to-one basis (one certificate identifies one user) or you can map many certificates to one user (a list of certificates is matched against a specific user according to specific rules. The first valid match becomes the mapping).
    12. Click OK.


     but in Directory Security, the secure communication is off, so can be choose it's edit..

    how to make that on?

    thx.. 

    Monday, January 28, 2008 10:20 PM
  • User989702501 posted

    You will need to install the SSL first before you can configure the SSL settings.

     

    Tuesday, January 29, 2008 2:28 AM
  • User1786423229 posted

    how to install ssl? where can i download the ssl program?

     is there must request certificate from a third-party CA?
    thx...

    Tuesday, January 29, 2008 10:31 AM
  • User1786423229 posted

     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?

    thx...
    Wednesday, January 30, 2008 9:34 PM
  • User-823196590 posted

    Look at step #5 in your second post ...

    5. Right-click the Web site, folder, or file for which you want to configure SSL communication, and then click Properties.

    Thursday, January 31, 2008 8:03 AM
  • User1786423229 posted

     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?

    pls.. thx...

     

    Thursday, January 31, 2008 11:27 AM
  • User989702501 posted

    if you require entire website to be on https, then configure the require secure channel at website level.

    Thursday, January 31, 2008 10:39 PM