Certbot --nginx issues

Hey guys,

I’ve deleted a cert and when I try to run certbox --nginx it craps out on me.

Error while running nginx -c /etc/nginx/nginx.conf -t.

nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/boris.myiphost.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(’/etc/letsencrypt/live/boris.myiphost.com/fullchain.pem’,‘r’) error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed

I’m aware it doesn’t exist, because I’ve just deleted it via certbot delete as I didn’t require it any more.

How would I continue with other certs in this case?

I’ve tried restarting nginx but no go.

OS: Debian Stretch (raspberry pi)

Thanks!

Resolved.

Deleted the conf file in nginx, reloaded, recreated, reran certbot successfully

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.