Please fill out the fields below so we can help you better. Note: you must provide your domain name to get help. Domain names for issued certificates are all made public in Certificate Transparency logs (e.g. crt.sh | example.com), so withholding your domain name here does not increase secrecy, but only makes it harder for us to provide help.
My domain is: worldfixer.com
I ran this command: sudo certbot --nginx -d example.com -d www.example.com
It produced this output: Saving debug log to /var/log/letsencrypt/letsencrypt.log
Error while running nginx -c /etc/nginx/nginx.conf -t.
nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/worldfixer.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/worldfixer.com/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed
The nginx plugin is not working; there may be problems with your existing configuration.
The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] BIO_new_file("/etc/letsencrypt/live/worldfixer.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/worldfixer.com/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)\nnginx: configuration file /etc/nginx/nginx.conf test failed\n',)
My web server is (include version): NGinx,
The operating system my web server runs on is (include version): Nginx
My hosting provider, if applicable, is: Digital Ocean
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): yes
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot): don't unsterday this question
The problem arose from my previous Let's encrypt certification expiring after 90days and the system didn't auto renewal.
I then ran the script: sudo certbot renew --dry-run
And received this error:
I received this error:
Domain: www.worldfixer.com
Type: unauthorized
Detail: 134.122.77.70: Invalid response from
https://www.worldfixer.com/.well-known/acme-challenge/SfLxB5pZoYICvDv7-TnLu1Yhq71lddk6G14M98q62Hk:
"\r\n<!-- Last Published: Wed Feb 16
2022 13:53:"
To fix these errors, please make sure that your domain name was
entered correctly and the DNS A/AAAA record(s) for that domain
contain(s) the right IP address.
After that, I deleted the existing files for
ssl_certificate /etc/letsencrypt/live/worldfixer.com/fullchain.pem
ssl_certificate_key /etc/letsencrypt/live/worldfixer.com/privkey.pem
However, now I'm unable to add a Let's Encrypt certification back to the IP Address. Any help?