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: https://smartmind.today
I ran this command: Nginx -t
{more information - I created a subdomain 3l.smartmind.today and acquired certificate using certbot [sudo certbot --nginx --hsts --staple-ocsp --must-staple -d 3l.smartmind.today]. However, at some point, i decided to pull down the subdomain and redo it again and i therefore removed the certificate and the subdomain server block and folder. Now Nginx configuration has an error}.
It produced this output:nginx: [emerg] cannot load certificate "/etc/letsencrypt/live/3l.smartmind.today/fullchain.pem": BIO_new_file() failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/3l.smartmind.today/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed
My web server is (include version): nginx version: nginx/1.18.0 (Ubuntu)
The operating system my web server runs on is (include version):
My hosting provider, if applicable, is: Godaddy / Cloudflare
I can login to a root shell on my machine (yes or no, or I don't know): Yes (Digital Ocean)
I'm using a control panel to manage my site (no, or provide the name and version of the control panel): No
The version of my client is (e.g. output of certbot --version
or certbot-auto --version
if you're using Certbot):0.40.0