Update "let's encrypt" certificate from command line
1
vote
1
answer
672
views
A raspberry pi 3B+ is outfitted with NextCloudPi. Duckdns was setup and runs: the certificate expired August 13, 2023.
Is there a terminal command that can force certificate renewal?
I did find certbot :
certbot renew --force-renewal
I tried:
pi@nextcloudpi:~ $

sudo certbot certonly
Which returned:
> IMPORTANT NOTES:
> - Congratulations! Your certificate and chain have been saved at: /etc/letsencrypt/live/downwind.duckdns.org/fullchain.pem Your key
> file has been saved at:
> /etc/letsencrypt/live/xxxxxxx.duckdns.org/privkey.pem Your cert
> will expire on 2024-01-30. To obtain a new or tweaked version of
> this certificate in the future, simply run certbot again. To
> non-interactively renew *all* of your certificates, run "certbot
> renew"
Asked by gatorback
(1522 rep)
Oct 31, 2023, 09:24 PM
Last activity: Nov 2, 2023, 07:58 AM
Last activity: Nov 2, 2023, 07:58 AM