LetsEncrypt Problems

Status
Not open for further replies.

jgcps

New Member
Jul 14, 2019
2
0
1
31
I can't get LetsEncrypt or nginx to work properly. I keep getting this error no matter what I do.

nginx.service - A high performance web server and a reverse proxy server
Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sun 2019-07-14 16:04:59 EDT; 13s ago
Docs: man:nginx(8)
Process: 1666 ExecStartPre=/usr/sbin/nginx -t -q -g daemon on; master_process on; (code=exited, status=1/FAILURE)


Jul 14 16:04:59 vps249895 systemd[1]: Starting A high performance web server and a reverse proxy server...
Jul 14 16:04:59 vps249895 nginx[1666]: nginx: [emerg] BIO_new_file("/etc/dehydrated/certs/odysseymedical.ca/fullchain.pem")
failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/dehydrated/certs/odysseymedical.ca/
fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
Jul 14 16:04:59 vps249895 nginx[1666]: nginx: configuration file /etc/nginx/nginx.conf test failed
Jul 14 16:04:59 vps249895 systemd[1]: nginx.service: Control process exited, code=exited status=1
Jul 14 16:04:59 vps249895 systemd[1]: Failed to start A high performance web server and a reverse proxy server.
Jul 14 16:04:59 vps249895 systemd[1]: nginx.service: Unit entered failed state.
Jul 14 16:04:59 vps249895 systemd[1]: nginx.service: Failed with result 'exit-code'.
 

DigitalDaz

Administrator
Staff member
Sep 29, 2016
3,070
577
113
Its telling you the error exactly:

/etc/dehydrated/certs/odysseymedical.ca/fullchain.pem

The file is not there.
 

moe

New Member
Nov 25, 2019
9
0
1
41
Hi jgcps,
I have exactly the same problem and I checked all files are there (Symbolink link files) with sky color. The only problem was that I typed the domain name in CAPS which made the folder seems non existent but it was there.

Simply change the folder to CAPs to match the configuration of your Nginx or change nginx config file to small letters and that should get it working.
 
Status
Not open for further replies.