Nginx uses self-signed certificate instead of Let’s Encrypt one
Hello Using Nginx for the first time. On CentOS 7.5.
Have pem files in /etc/letsencrypt/live.
Created a conf file in /etc/nginx/conf.d. CertBot has not modified it.
Have “[alert] could not open error log file: open() "/var/log/nginx/error.log" failed (13: Permission denied)” after running “sudo nginx -t && nginx -s reload” Does not seem to be SELinux issue.
No nginx configuration file issue.
error log only had “2018/11/19 16:11:38 [notice] 32498#0: signal process started.”
Where to look next?
Used http://nginx.org/en/docs/http/configuring_https_servers.html to manually configure nginx.
Set the /etc/nginx/conf.d/servername.conf file to be:
listen 443 default_server;
listen [::]:443 default_server;
Restarted nginx. Browsers still only see the self-signed cert.
Have not seen anything helpful in: