This article will show you how to renew letsencrypt. Letsencrypt is a free and open certificate authority (CA), run for the public. It is a service provided by ISRG (Internet Security Research Group). You can make free certificate using letsencrypt. If you want to setup letsencrypt you have to follow their procedure and there is specific command you need to do.
I do not explain about how to setup letsencrypt because so many articles already exist in the web. You can just search it. I only explain how to renew letsencrypt in FreeBSD.
Letsencrypt sent me an email said that my certificate will expire in 19 days. So if you using FreeBSD 10.2 here is the fastest way to make it work. Before execute this steps please check it your FreeBSD ports. The letsencrypt port reside in security/letskencrypt or security/py27-letsencrypt. The first one doesn’t exist even after I update my ports so I try the second one. But it seems the code still error. If this two ports is not working try this steps.
- root# pip install –upgrade letsencrypt-s3front
- certbot renew –standalone –pre-hook “service nginx stop” –post-hook “service nginx start”
I’m using nginx for my web server. Please make sure you know what you are doing don’t just copy paste this step in your shell.
Got it! Thanks a lot again for helnpig me out!