letsencrypt tool renamed certbot

Today Gerber drop-off certificate expired,I have written beforeHow to add https support with letsencrypt to blog,And teach you to write a regular update service at the end of the article,So you do not own every three months to update the manual。

but,If your certificate to expire,So in fact letsencrypt robot will send you a reminder email,The general content like this:

Hello,

Your certificate (or certificates) for the names listed below will expire in
0 days (on 28 Oct 17 17:30 +0000). Please make sure to renew
your certificate before then, or visitors to your website will encounter errors.

cnswift.org
logcg.com
www.cnswift.org
www.logcg.com

For any questions or support, please visit https://community.letsencrypt.org/.
Unfortunately, we can’t provide support by email.

For details about when we send these emails, please visit
https://letsencrypt.org/docs/expiration-emails/. In particular, note
that this reminder email is still sent if you’ve obtained a slightly
different certificate by adding or removing names. If you’ve replaced
this certificate with a newer one that covers more or fewer names than
the list above, you may be able to ignore this message.

Since I own timing,I thought it was time to test before the certificate is signed ignored,really,Today a friend told me that there - you blog certificate has expired。

no way,To manually renewal,In any case the results are wrong。This time only to find,The original letsencrypt This tool has renamed,The new name is certbot。(/certbot

This tool configuration simpler,More humane,There are a variety of direct plug-in server,Can automatic completion。

I was ubuntu,Here are ubuntu 16.04 Steps,Users of other versions of the system and you can come here to see the corresponding detailed tutorial:https://certbot.eff.org

The first is the installation tool:

After installed can use the command to start the:

No additional parameters of the,It will automatically get you back in nginx startup configuration file and get all the domain names can issue certificates,You only need to write according to a list of numbers,No. divided by spaces。

Then everything is done automatically ...... final will ask whether you want to configure a jump http https,Generally choose to automatically jump,It will help you complete the configuration。

This time the certificate was already in force ..................

Its that simple。

Same,In the crontab command to update the previous change it,Changed certbot renew .。

The new setting automatic update method,certbot officially gives the script,Just copy and paste to execute:

 

References

Original article written by LogStudio:R0uter's Blog » letsencrypt tool renamed certbot

Reproduced Please keep the source and description link:https://www.logcg.com/archives/2921.html

About the Author

R0uter

The non-declaration,I have written articles are original,Reproduced, please indicate the link on this page and my name。

Comments

  1. I used to use –nginx

    monochrome,certbot later abandoned –the nginx,

    So we use

    certbot --webroot --installer nginx --redirect --keep -d 域名

    Got it

Leave a Reply

Your email address will not be published. Required fields are marked *