HTTP FREE upgrade HTTPS Raiders (super Simple)

Source: Internet
Author: User

1. Sign up for Wosign SSL free Certificate

Https://buy.wosign.com/FreeSSL.html

2. Verify the mail domain name and download the certificate

3. Open IIS, locate the server certificate Select Import, select the downloaded certificate

4. Set up a Web site certificate


5. Of course we can also forcibly set the need to use SSL to access the site (at this point, only HTTPS to access, and HTTP will not be accessible)

Also, refer to the data for HTTP address redirection:

  1. Download HTTP rewrite module 2.0 from Microsoft's official website (for example, 64), upload to server installation: http://www.microsoft.com/zh-cn/download/details.aspx?id=7435

  2. Step Two: Restart the IIS service after installation, then open the IIS console and discover a more "URL rewrite" component, as follows

  3. Step three: Double-click URL Rewrite, select Add rule in the right-hand form, and add a blank rule as follows:

  4. Fourth Step: Add the following rule: (circled part is the part that needs to be filled out or selected)

    Conditional input: {HTTPS}

    Mode: ^off$

  5. Fifth step: Continue filling in the incomplete completed sections as follows:

    REDIRECT Url:https://{http_host}/{r:1}

    Redirection type: Found (302) or see other (303)

  6. Sixth step: Click "Apply" on the right side of the empty body.

  7. Seventh Step: Add the Http_host condition as follows:

    Condition input: {http_host}

    Mode: ^ (localhost)

  8. 10

    Eighth step: Finalize all settings and click Apply. In fact, the file above is the configuration file that changed the Web. config. You can see HTTPS on success.

HTTP FREE upgrade HTTPS Raiders (super Simple)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.