I do not know why, but for no apparent reason other than having gone to create more certificates in the proxy with nginx, in which two certificates were already working correctly, in the following ones that I have created today I started to bother this error:
I am creating the certificate with the following command:
certbot certonly -d docs.asketic.ovh
Saving debug log to /var/log/letsencrypt/letsencrypt.log
How would you like to authenticate with the ACME CA?
-------------------------------------------------------------------------------
1: Place files in webroot directory (webroot)
2: Spin up a temporary webserver (standalone)
-------------------------------------------------------------------------------
Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
Obtaining a new certificate
Performing the following challenges:
http-01 challenge for docs.asketic.ovh
Waiting for verification...
Cleaning up challenges
Generating key (2048 bits): /etc/letsencrypt/keys/0008_key-certbot.pem
Creating CSR: /etc/letsencrypt/csr/0008_csr-certbot.pem
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at
/etc/letsencrypt/live/docs.asketic.ovh/fullchain.pem. Your cert
will expire on 2018-04-19. 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
root@nginx:/etc/nginx/sites-available# service nginx start
[ ok ] Starting nginx: nginx.
And I also check that the “docs.asketic.ovh” directory and the certificates inside it have been created in the /etc/letsencrypt. why the certificate is wrongly created?
Regards