这是免费证书的官网。letsencrypt。 查查怎么用的。
装证书,还需要我自己的邮箱,用来接收官方信息。我用的是qq邮箱。
这是请求证书的过程:
[root@iZwz9b6cnddilx5kxzlyf2Z ~]# sudo certbot certonly --nginx -d www.huasihuayi.top
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Enter email address (used for urgent renewal and security notices)
(Enter 'c' to cancel): 545679452@qq.com
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Please read the Terms of Service at
https://letsencrypt.org/documents/LE-SA-v1.4-April-3-2024.pdf. You must agree in
order to register with the ACME server. Do you agree?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: y
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Would you be willing, once your first certificate is successfully issued, to
share your email address with the Electronic Frontier Foundation, a founding
partner of the Let's Encrypt project and the non-profit organization that
develops Certbot? We'd like to send you email about our work encrypting the web,
EFF news, campaigns, and ways to support digital freedom.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(Y)es/(N)o: y
Account registered.
Requesting a certificate for www.huasihuayi.top
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/www.huasihuayi.top/fullchain.pem
Key is saved at: /etc/letsencrypt/live/www.huasihuayi.top/privkey.pem
This certificate expires on 2024-09-17.
These files will be updated when the certificate renews.
Certbot has set up a scheduled task to automatically renew this certificate in the background.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
If you like Certbot, please consider supporting our work by:
* Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
* Donating to EFF: https://eff.org/donate-le
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
在dartFrog官网上找到了这两个页面:
官网方案有效。但是在服务器上实际操作时,必须在dartServer工程的根目录中创建 certificates文件夹,并且把所有的证书文件拷贝到这里面。