PDA

View Full Version : SSL Certificate


ceejayoz
12-18-2002, 02:14 PM
Hi,

I recently transferred my server over from a WHM/CPanel server to DSM.

One of my sites is a secure site - I backed up the RSA Private Key, CSR, and CRT text. I generated a CSR using DSM, then replaced the resulting files with my backups.

vhosts.conf appears to be set up correctly:

<VirtualHost 209.115.43.157:433>
DocumentRoot /home/chmc/wwwroot/*************.com/
ServerName *************.com
ServerAdmin webmaster@*************.com
SSLEngine on
SSLEnable
SSLVerifyClient None
SSLCertificateFile /usr/local/apache/conf/ssl.crt/www.*************.com.crt
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/www.*************.com.key
ServerAlias *************.com www.*************.com
ScriptAlias "/cgi-bin/" "/home/chmc/wwwroot/*************.com/cgi-bin/"
CustomLog /var/db/dsm/logs/apache/*************.com dsmbytes
CustomLog /usr/local/apache/domlogs/*************.com combined
</VirtualHost>

yet the https:// site doesn't work (http:// works fine).

Any ideas?

LeeJ
12-18-2002, 06:34 PM
Did you restart apache?

/etc/rc.d/init.d/httpd restart

ceejayoz
12-19-2002, 05:54 AM
Tried that, as well as httpd stop / httpd startssl - no change, it still doesn't allow me to access the site via https.

ceejayoz
12-19-2002, 06:00 AM
Hmm... the httpd startssl appears to have crashed Apache, had to restart it (non-SSL). Any ideas why this is happening (without any visible errors?)

LeeJ
12-19-2002, 06:27 AM
In terms of why is it happening without visible errors you will need to consult the developers of apache.

:)

You may want to take a look at the apache error logs as that is ususally where errors are placed.

/usr/local/apache/logs/error_log

Sometimes errors are shot to the screen but not always.

ceejayoz
12-19-2002, 12:06 PM
Running httpd startssl results in:

[Thu Dec 19 11:53:14 2002] [notice] caught SIGTERM, shutting down
[Thu Dec 19 11:53:18 2002] [warn] NameVirtualHost ***.***.43.153:80 has no VirtualHosts
[Thu Dec 19 11:53:18 2002] [warn] NameVirtualHost ***.***.43.152:80 has no VirtualHosts
[Thu Dec 19 11:53:18 2002] [warn] NameVirtualHost ***.***.43.155:80 has no VirtualHosts
[Thu Dec 19 11:53:18 2002] [warn] NameVirtualHost ***.***.43.154:80 has no VirtualHosts
[Thu Dec 19 11:53:18 2002] [crit] (98)Address already in use: make_sock: could not bind to port 80

LeeJ
12-19-2002, 12:16 PM
Try to the commands bellow.

killall -9 httpd
/etc/rc.d/init.d/httpd start

ceejayoz
12-21-2002, 02:25 PM
running those commands results in the same thing - httpd start works fine, but there's no SSL access... httpd startssl crashes the Apache service

LeeJ
12-21-2002, 08:13 PM
send an email to support@zervex.com and we will resolve the issue for you. Please reference this thread in your ticket.

ceejayoz
01-08-2003, 02:58 PM
LeeJ - I have received no reply from support. Could you check on this for me?

Thanks.