DirectAdmin won't work with https 2222

cubeman

Verified User
Joined
Sep 1, 2014
Messages
15
Hi,

I purchased SSL certificate from DigiCert and install it to my domain

and its working fine

https://www.domain.com

Now I decided to make DA login page to be secure

https://www.domain.com:2222

I added the certs in the directory /usr/local/directadmin/conf/ and gave them the right permission

chown diradmin:diradmin xxx.pem

I modified directadmin.conf with

SSL=1
cacert=/usr/local/directadmin/conf/cacert.pem
cakey=/usr/local/directadmin/conf/cakey.pem
carootcert=/usr/local/directadmin/conf/carootcert.pem

and I restarted DA and httpd

now https://www.domain.com:2222 is nor working
but strange the https://www.domain.com works

error log shows
2014:10:19-11:11:40: Can't connect to ssl!
2014:10:19-11:11:40: -> A failure in the SSL library occurred, usually a protocol error.
2014:10:19-11:11:40: -> error:00000001:lib(0):func(0):reason(1)

any idea ?
 
Jeff, he's talking about:
Google Chrome has detected problems with the site's certificate. You should proceed with caution because the site may be pretending to be another site in order to trick you into sharing personal or other sensitive information with them.

When IP, instead of a domain, is accessed, his browser informs him that the certificate wasn't generated for the IP he browses :) (because it's assigned to the domain name he bought SSL cert for)
 
Back
Top