Ali cloud server configuration console page compulsory https access

   Recent exposure to a new site, the site's access method is http, therefore always displayed in the browser unsafe when opened. So you want to configure https access.

  First, let's explain hosted in the cloud Ali, Ali is also the domain of the cloud.

 method one 

 1 In the first domain name resolution at cdn cloud Ali, first resolve their own domain name (usually secondary domain name). Ali cloud can resolve domain names to see the document directly.

2 for a free version of ssl certificates, refer to the article https://yq.aliyun.com/articles/637307    , after waiting for the certificate examination and approval process, click deployment options cdn

 

 Then select the domain name you need to deploy.

 

3 cnd console, select Domain Name column, select https jump domain name, configure https resolution. If there ssl certificates have been deployed to this domain https exchange, here it is automatically turned on https resolved, if not you can directly open the default https resolution.

 

 

 

 4 arranged https forced jump http-> https. When this visit the site again, enter the domain name will be redirected once by using https resolution.

 

Two Method two tomcat configuration https access. There are many online blog this, we can refer to, I have experimented with it and found after tomcat9 configuration https Jump, always repeatedly redirected not to visit the site. Projects not visit, configuration no problem, toss several hours did not find the answer, use the above method of the kind of simple.

 

Guess you like

Origin www.cnblogs.com/prader6/p/11998906.html