How to set up HTTPS service? Applying for a free HTTPS certificate also describes how to apply for a free HTTPS certificate, but it is generated by specifying a separate domain name, not for a wildcard domain name.
What is a wildcard domain name
*.liveqing.com
Indicates that all subdomains of Liveqing are included
The wildcard certificate is generated
(1) According to the previous blog post, after preparation, execute the following request command
./letsencrypt/letsencrypt-auto certonly -d *.liveqing.com --manual --preferred-challenges dns --server https://acme-v02.api.letsencrypt.org/directory
Copy the code
(2) After the execution begins, enter two y as prompted, and you will see
Please deploy a DNS TXT record under the name
_acme-challenge.liveqing.com with the following value:3W68emyKk3edfNj6rZFZqXqzYz_omgUafV9KjCUlPRI
Before continuing, verify the record is deployed.
(3) At this time, keep the interface unchanged and go to the domain name server for configuration. We are using the aliyun server here.
(4) Don’t worry after adding records, wait for them to take effect
To check whether the command takes effect in CMD, run the following command
nslookup -qt=txt _acme-challenge.liveqing.com
Copy the code
If the following information is displayed, it takes effect
(5) Return to the interface of step (2)
Press The Enter key to continue the execution, the successful execution will inform the generated certificate path, at this point, the success
Results show
For more information
Security streaming media Internet live -QQ exchange group: 615081503
Gb GB28181 Without liveGBS-QQ communication group: 947137753
WEB:www.liveqing.com
Tel: 189-5515-0114
Copyright © 2016-2019 at LiveQing.com