Teach you to set up alicloud free SSL for your website


Original address:https://www.wjcms.net/archives/ Teach you to set up alicloud free SSL for your website


Now more and more websites are setting up SSL. If you don’t set SSL, you will be prompted by the browser that it’s not safe. So from a security point of view, you should set up SSL. In addition, in the past, alicloud directly had a link to apply for a free SSL certificate, but now it’s changed. Many people can’t find it. Someone asked me how to do this, so I wrote an article to share it with more people, Officially.

Domain name resolution

Log in to the alicloud panel, find the domain name from the menu on the left, then select the domain name to be resolved and add the record

Reference article:https://www.wjcms.net/archives/ What should domain name resolution do? Explain the types of domain name resolution in detail

After resolving the domain name, ensure that the domain name can be used.

Build a website

Reference article:https://www.wjcms.net/archives/ Building personal website with pagoda panel
At this time, we found that the use of domain names has been able to access the site. But it can only be accessed using the HTTP protocol.
Let’s start setting up SSL.

Apply for SSL certificate

Enter the background of alicloud, search for SSL from the menu, and click SSL Certificate (Application Security)

Then, click buy certificate.

Then, select the relevant parameters

Choose a single domain name for the domain name type, DV SSL for the certificate type, free version for the encryption level, other defaults, and then choose OK to pay. Here is 0 yuan, just need the next step. Then click to enter the console.

Back to the SSL panel, we find that there is one more data, which shows that it is not signed.

At this time, we can click certificate application to enter the configuration page.

We just need to configure the domain name to set SSL, and all the others are default, and then click next.

This will remind us to verify.
You just need to click the verify button. If the prompt as shown in the figure below appears after the button, it indicates that the verification has been successful.

If the verification fails, you need to resolve the domain name and manually resolve the contents of the table above. Then come back and click verify.

Then click submit for review, and you will be reminded that you have submitted to CA company for review. At this time, you just need to wait for a successful email.

Deploy SSL certificate

After waiting for the successful application, we can go to the SSL console and find that the status is signed.

At this time, we only need to select the certificate of the corresponding environment to download.

Because we use the pagoda environment, the deployment is very simple.

Open the pagoda panel, select the website from the menu, and then select the website to deploy SSL, and click the undeployed yellow one.

Will jump to the SSL configuration page.

1. Select another certificate.
2. Open the downloaded certificate, copy the contents and paste them into the corresponding box.
3. Click report to save, we can see the validity period.
4. Turn on mandatory HTTPS.

At this time, setting SSL has been successful. Let’s have a try.

Oh, it’s finished. Follow me and share different articles every day.

Recommended Today

Large scale distributed storage system: Principle Analysis and architecture practice.pdf

Focus on “Java back end technology stack” Reply to “interview” for full interview information Distributed storage system, which stores data in multiple independent devices. Traditional network storage system uses centralized storage server to store all data. Storage server becomes the bottleneck of system performance and the focus of reliability and security, which can not meet […]