Ali cloud ssl certificate request to deploy open jump http https

1. Log Ali cloud https://account.aliyun.com

2. Locate the top right corner of the menu to enter the console, three clicks - Products & Services> - Security --ssl certificate if circled Stars appear in the left column

3. Purchase certificate if you have certificate can also upload

4. Select the type dv ssl free one year free period, you can also select other charges of Kazakhstan, point Buy Now

5. Payment confirmation order, the next step, click into the console certificate

6. The application for a certificate, fill in the relevant authentication information (important), pending review

7. After successful review, here is a review of the success of diagrams, installation deployment, download your file server certificate format

Installation Guide certificate: https: //help.aliyun.com/knowledge_detail/95505.html

8. If you turn on https, deployment can enter the virtual cloud host, host management console

9. domain management - binding domain - the forced https encrypted access, click on,

There are three options, free - cloud Shield - Custom (with the application in fact the same as above), where just select the cloud shield certificate application

10 is turned on (cloud shield certificate) can be closed

11. Visit the website, http https automatically jump

12. The above dns resolve Ali cloud.

Outer segments, outer segment, the certificate is automatically created http jump https, add the following code in your site's root .htaccess

RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^(.*)?$ https://%{SERVER_NAME}/$1 [L,R=301]

 

Guess you like

Origin www.cnblogs.com/chervehong/p/11122141.html