Request a free ssl wildcard certificate

吐曹:

To my site configuration free htpps certificate fee Si Jin, and toss for a day, and I find myself looking like Ali Ali gave me feedback, useless

I Certbot after generating a certificate how access is free hppts certificate Ali, I regard Ali revoked or can be used to access https

Best after about five hours, https access Ali Ali is no longer, and I suspect that dns server caching problem because there browsers Ali

I also have access to the certificate revoked, tired heart

Generate free Let's Encrypt certificate steps

1. I use Certbot  can click to check it

As for the steps you see a reference to the Garden of Friends of

But the second step is different from my order

./certbot-auto --server https://acme-v02.api.letsencrypt.org/directory -d "*.yuexiangqianlong.top" -d "yuexiangqianlong.top" --manual --preferred-challenges dns-01 certonly

Probably means the main domain name to be configured individually to try https, ssl certificates will generate two, if you do not, do not configure the primary domain name

The remaining steps are the same

2. Configure Automatic Updates domain

Because Let's Encrypt certificate is valid for only three months, so you need to configure Automatic Updates

The first thing you should certbot-auto mobile

certbot auto-mv / etc / letsencrypt /

 

crontab -e

Then it

0 3 1 * * /etc/letsencrypt/certbot-auto renew --renew-hook “sudo nginx -s reload

Copy to bottom

It works, and so writing behind some general

Guess you like

Origin www.cnblogs.com/yu-hailong/p/11310822.html