Renew operators.01labs.net & www.operators.01labs.net O1 operator instance Let's Encrypt certificates
Closed this issue · 2 comments
O1ahmad commented
References:
- Let's Encrypt certificate renewal community guide
O1ahmad commented
Methods:
Renew all previously obtained certificates that are near expiry (recommended)*
docker run --rm --name cert_renewal -it -v operator_certs:/var/www/certbot -v certbot_certs:/etc/letsencrypt certbot/certbot:latest renew
Renew specific set of certificates
docker run --name cert_renewal -it -v operator_certs:/var/www/certbot -v certbot_certs:/etc/letsencrypt certbot/certbot:latest certonly --force-renew -d operators.01labs.net -d www.operators.01labs.net --webroot /var/www/certbot
note: above based on existing logic where related files are stored in named volumes located on host machine
O1ahmad commented
Operations completed:
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/operators.01labs.net/fullchain.pem
Key is saved at: /etc/letsencrypt/live/operators.01labs.net/privkey.pem
This certificate expires on 2022-05-04.
These files will be updated when the certificate renews.
NEXT STEPS:
- The certificate will need to be renewed before it expires. Certbot can automatically renew the certificate in the background, but you may need to take
steps to enable that functionality. See https://certbot.org/renewal-setup for instructions.