sudo certbot --nginx
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/nginx/bubblin.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(’/etc/nginx/bubblin.crt’,‘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/nginx/bubblin.crt") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(’/etc/nginx/bubblin.crt’,‘r’) error:2006D080:BIO routines:BIO_new_file:no such file)\nnginx: configuration file /etc/nginx/nginx.conf test failed\n’,)
Sorry, I guess I didn’t look closely enough at the output! Do you recognize this reference to /etc/nginx/bubblin.crt? It sounds like it’s an existing certificate that you’ve referred to from somewhere in your nginx configuration?
Is nginx currently able to start up correctly on this system outside of the Certbot process?