Hi ! The thing comes from this topic:
The thing is now, I use this command to renew cert and it works perfect(or run without errors):
certbot certonly
--dns-digitalocean
--dns-digitalocean-credentials ~/.secrets/certbot/digitalocean.ini
--dns-digitalocean-propagation-seconds 60
-d '*.demoswp.com'
-d demoswp.com
How can I do to renew the cert ?
I had in my crontab this line:
/usr/local/bin/certbot renew
does it will work ?
AND ... The console said me certificate expire in 2019/08/08 but certificate in chrome or in webpages said previous expiration date (2019-05-27)
'
/usr/local/bin/certbot certificates
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Found the following certs:
Certificate Name: demoswp.com
Domains: *.demoswp.com demoswp.com
Expiry Date: 2019-08-08 17:22:28+00:00 (VALID: 89 days)
Certificate Path: /etc/letsencrypt/live/demoswp.com/fullchain.pem
Private Key Path: /etc/letsencrypt/live/demoswp.com/privkey.pem
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://www.ssllabs.com/ssltest/analyze.html?d=demoswp.com
My domain is:
demoswp.com
I ran this command:
certbot certonly
--dns-digitalocean
--dns-digitalocean-credentials ~/.secrets/certbot/digitalocean.ini
--dns-digitalocean-propagation-seconds 60
-d '*.demoswp.com'
-d demoswp.com
It produced this output:
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Plugins selected: Authenticator dns-digitalocean, Installer None
Cert is due for renewal, auto-renewing...
Renewing an existing certificate
Performing the following challenges:
dns-01 challenge for demoswp.com
dns-01 challenge for demoswp.com
Unsafe permissions on credentials configuration file: /root/.secrets/certbot/digitalocean.ini
Waiting 60 seconds for DNS changes to propagate
Waiting for verification...
Cleaning up challenges
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/demoswp.com/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/demoswp.com/privkey.pem
Your cert will expire on 2019-08-08. 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"
- If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
My web server is (include version):
Apache
The operating system my web server runs on is (include version):
Ubuntu 18.04
My hosting provider, if applicable, is:
DigitalOcean
I can login to a root shell on my machine (yes or no, or I don't know):
yes
I'm using a control panel to manage my site (no, or provide the name and version of the control panel):
nop
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):
certbot 0.28.0