SSL not working with my setup Apache-Nginx

furio

New member
Joined
Aug 28, 2018
Messages
1
Hi guys,

I have centos 7 with apache_nginx and in the middle Varnish cache if this is even relevant.

I got no users on my VPS, only my own admin account where i added domains to. Now when i enable SSL and install my SSL certificate i can see in apache and Nginx that it seems to do the right thing:

Code:
ssl_certificate /usr/local/directadmin/data/users/admin/domains/mydomain.com.cert.combined;
	ssl_certificate_key /usr/local/directadmin/data/users/admin/domains/mydomain.com.key;
	include /usr/local/directadmin/data/users/admin/nginx_php.conf;

I enabled sni_enabled=1 in Directadmin conf and rebooted the whole server.

However when i visit the https version of my site it tells me unsigned certificate, localhost version with demo info or something. So its not getting the correct SSL files.

Ive read about getting a second ip or making a reseller account and then add the domain to it but i was wondering if there is another way and maybe i forgot something.

Kind regards,
Furio
 
Back
Top