SSL Location is different - Apache can't restart

abakisensoy

Verified User
Joined
Oct 23, 2020
Messages
6
Hi,

I have two VDS servers with DirectAdmin on it. New one has a SSL problem. I enabled enable_ssl_sni=1 with this new one. First one doesn't have enable_ssl_sni=1 in /usr/local/directadmin/conf/directadmin.conf.

The new one is a freshly installed DirectAdmin. I firstly created a new user and I noticed that /etc/httpd/conf/ssl.crt/server.crt.combined is created by root.

New User's httpd.conf

<VirtualHost IP:443 >
SSLEngine on
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt.combined
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key

When I try to restart apache I get an SSL error.



why DirectAdmin crate this : server.crt.combined and add the line SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt.combined

My older VDS with DirectAdmin has these lines:

SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
SSLCACertificateFile /etc/httpd/conf/ssl.crt/server.ca
not a problem at all.

Any idea and help appreciated in advance.
 
Back
Top