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'.
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'.