[Addition of SSL certificate for cloud-speed website construction]

Adding the SSL certificate of the cloud-speed website construction

premise

You have already applied for an SSL certificate. If you have not yet applied, you can click on
SSL certificate application and purchase to operate
. What you need to pay attention to here is why you need to apply for an SSL certificate. If there is no SSL certificate, the website will start with HTTP instead of HTTPS after opening it through a browser. , the browser will pop up an insecure website prompt pop-up window.
If the SSL certificate is deployed, the browser will not prompt the insecure website

1. Download the certificate

First, enter the official website of HUAWEI CLOUD: HUAWEI CLOUD official website , click the console in the upper right corner to enter the console
insert image description here
, select the service list (three horizontal bars) in the upper left corner, and select the cloud certificate management service. If there is no such item, search in the search bar , after searching, you can click the blue pushpin style after the text to fix it in the left column.
insert image description here
If you have successfully applied for an SSL certificate, you will see your own certificate ID here. Click download on the right
insert image description here
to enter the next page. Choose to download the certificate here. The downloaded certificate is a compressed package.
insert image description here
Unzip the compressed package, find the folder with the suffix _Nginx, and double-click to enter.
insert image description here
There will be two files in the folder, one with the suffix of .crt and the other with the suffix of .key
insert image description here

2. Add certificate

In the console, select Cloud Speed ​​Construction Station on the left,
insert image description here
click Background Management,
insert image description here
and click Bind Domain Name on the right.
insert image description here
In the Bind Domain Name window, you can add and update certificates. Here, the SSL certificate has already been added, so take the update as an example, add The same is true for the certificate.
insert image description here
Open the .crt suffix file in the folder with the _Nginx suffix just now with a text editor, and copy and paste the contents into the first input box after opening. Open the .key suffix file with a text editor, and copy and paste the contents into the second input box after opening. Click OK, and wait for about half an hour for the certificate to be updated
insert image description here
. At this point, all operations on the website have been basically completed. You only need to pay attention to the deployment of the website interface, and there will be no error pop-up window when you visit the website through the domain name.

Guess you like

Origin blog.csdn.net/m0_64384233/article/details/130678200