How to configure https certificate for domain name

How to configure https certificate for domain name

The difference between http and https is that the latter will be very secure during network transmission because an SSL certificate is installed for http.

 

There are free and paid SSL certificates. As the name suggests, the fees are more protected and more secure. The fees for a single domain name are hundreds or thousands a year, and the multi-domain name is more expensive, which is much more expensive than the domain name registration fee.

If you are making a website, or an h5 webpage, or an Android App, you can also use http directly. But if you need to develop an iosApp or applet, and you need a server, you must use https.

Because I have developed a lot of small programs recently, and these small programs all require data from the server. So I have configured a lot of https certificates. The servers I use are basically Alibaba Cloud servers. As I said before, Alibaba's servers are a very good choice in China. They are very stable and have great security. Not to mention, the price is ok.

The https certificate I installed directly uses Ali's certificate service. There is a free version, which is enough. The first year is free.

 

Here are the configuration steps:

1. Enter the Alibaba Cloud console, [Security] -> [Certificate Services], and purchase a certificate

 

2. Fill in the relevant information and submit it for review. Generally, the review results will be available on the same day (send an email)

 

3. Download the certificate and install it to the server (the webserver I use here is Nginx, and others such as Apache, Tomcat, IIS, and related configuration instructions)

 

My server nginx.conf configuration:

 

4. What is the https certificate?

 

All are encrypted keys.

Hope this article can help you.

Reprinted: https://www.cnblogs.com/ymwang/p/6893105.html

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325506115&siteId=291194637