fullmetalucard
Verified User
- Joined
- Jan 12, 2007
- Messages
- 11
Hello,
I' ve recently purchased a thawte certificate for my webservers.
So i installed it successfully and my cert worked for apache, using it in:
So i changed my paths in the httpd.conf file for the virtualhosts to
My website has now the trusted certificate to securize the payments.
But the bad point is that it doesn't work fro DA, because i still have a self-generated certificate.
So i edited the directadmin.conf file and tried to things:
- set cacert=etc/httpd/conf/ssl.crt/www.mydomain.com.crt
and cakey=/etc/httpd/conf/ssl.key/www.mydomain.com.key
Then i did a chown diradmin:diradmin, for these two files so that they could be read by DA => didn't worked
- tried
But i didn't worked because, after the files changed directadmin crashed when i tried to restart it.
I've read the how to's about it, but i think i may have missed something..
I' ve recently purchased a thawte certificate for my webservers.
So i installed it successfully and my cert worked for apache, using it in:
Code:
/etc/httpd/conf/ssl.crt/www.mydomain.com.crt
/etc/httpd/conf/ssl.csr/www.mydomain.com.csr
/etc/httpd/conf/ssl.key/www.mydomain.com.key
So i changed my paths in the httpd.conf file for the virtualhosts to
Code:
SSLEngine on
SSLCertificateFile conf/etc/httpd/conf/ssl.crt/www.mydomain.com.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/www.mydomain.com.key
But the bad point is that it doesn't work fro DA, because i still have a self-generated certificate.
So i edited the directadmin.conf file and tried to things:
- set cacert=etc/httpd/conf/ssl.crt/www.mydomain.com.crt
and cakey=/etc/httpd/conf/ssl.key/www.mydomain.com.key
Then i did a chown diradmin:diradmin, for these two files so that they could be read by DA => didn't worked
- tried
Code:
cd /etc/httpd/conf/
cp ssl.crt/server.crt /usr/local/directadmin/conf/cacert.pem
cp ssl.key/server.key /usr/local/directadmin/conf/cakey.pem
[B]and[/B]
chown root:root cacert.pem
chmod 644 cacert.pem
chown diradmin:diradmin cakey.pem
chmod 400 cakey.pem

I've read the how to's about it, but i think i may have missed something..
Last edited: