LetsEncrypt SSL configuration for webapps

ashokjp

New member
Joined
Dec 31, 2019
Messages
2
My current setup:
I have the latest version of custombuild and DirectAdmin
Apache+Nginx reverse proxy
sni enabled in directadmin conf

Issue:
I am trying to enable a LetsEnycrypt SSL for the webapps. Like hostname/phpmyadmin.

Currently for the server hostname, I have generated the SSL via DA control panel using LetsEncrypt as provider. The SSL certificate is installed and I can see secure SSL sign in browser for the website and DA control panel, however for webapps its taking a self-signed certificate.

I tried copying over the key and certificate to these files, but nginx will not start after that
/etc/httpd/conf/ssl.crt/server.crt
/etc/httpd/conf/ssl.key/server.key
 
Issue resolved. nginx configuration was referring to file - /etc/httpd/conf/ssl.crt/server.crt.combined which was having many certificates, replaced with server certificate alone and it worked
 
Back
Top