Fullchain.pem, no such file

In a nutshell: New to this. Set up a domain and droplet at Digital Ocean. Running Ubuntu 16.04, nginx, and mariadb. Everything was looking good, and I installed and then tried to set up letsencrypt, again following the guide here.

Got an error: /etc/letsencrypt/live/gregjonesdev.com/fullchain.pem No such file or directory. Actually two, both 02001002 and 2006D080.

I’ve been looking for a solution for this. Some people have managed to changed permissions, but I can’t locate a suitable file that could even be a candidate.

So I tried to find out where to get the certificates. Got to certbot’s website, selected ubuntu and nginx, and followed the steps ive posted below.

website: http://www.gregjonesdev.com

Command line:
$ sudo apt-get install software-properties-common
$ sudo add-apt-repository ppa:certbot/certbot
$ sudo apt-get update
$ sudo apt-get install python-certbot-nginx

$ certbot --nginx
(from Certbox’s Guide)

Again got the same error:

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

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

My page is no longer loading, getting a ERR_EMPTY_RESPONSE.

Hopefully someone can help me out. I’d like to get my webpage back online and let’s encrypt installed correctly. Please let me know if I can clarify anything or provide further information.

Thanks!

did this process correctly?

No. This also had an error:

$ 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/letsencrypt/live/gregjonesdev.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/gregjonesdev.com/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
nginx: configuration file /etc/nginx/nginx.conf test failed

I had gotten this error before I got to the certbot page, so i knew it was having trouble finding what it needed. I was actually hoping the certbot commands would help solve this problem (again, new to this).

1 Like

please show this file.

do any files actually exist in that location

There was a bug where certbot was dumping files in other locations

Andrei

find / -name fullchain.pem

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