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:
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
Step Two: Restart the IIS service after installation, then open the IIS console and discover a more "URL rewrite" component, as follows
Step three: Double-click URL Rewrite, select Add rule in the right-hand form, and add a blank rule as follows:
Fourth Step: Add the following rule: (circled part is the part that needs to be filled out or selected)
Conditional input: {HTTPS}
Mode: ^off$
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)
Sixth step: Click "Apply" on the right side of the empty body.
Seventh Step: Add the Http_host condition as follows:
Condition input: {http_host}
Mode: ^ (localhost)
- 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)