Web Hosting Talk







View Full Version : geotrust ssl cert install help


rlynch
04-01-2003, 02:23 AM
hi,

i followed teh directions on the rackshack/geotrust sites exactly and when i try to restart apache i get the following error:

Syntax error on line 1158 of /usr/local/apache/conf/httpd.conf:
Invalid command 'SSLCertificateFile', perhaps mis-spelled or defined by a module not included in the server configuration

any ideas why?

inteltechs
04-01-2003, 02:45 AM
you might try to post your httpd.conf here :)

Aushosts
04-01-2003, 03:02 AM
What cp are you using?

rlynch
04-01-2003, 03:22 AM
im using cpanel5

i got apache to start, however i cant connect to the url

this is the derivatives from httpd.conf:

<VirtualHost 216.180.251.106>
BytesLog domlogs/secure.domain.com-bytes_log
ServerName secure.domain.com
ServerAdmin wwwadmin@domain.com
DocumentRoot /home/domain/public_html/secure
CustomLog domlogs/secure.domain.com combined
ScriptAlias /cgi-bin/ /home/domain/public_html/secure/cgi-bin/
User domain
Group domain
SSLCertificateFile /usr/local/apache/conf/ssl.crt/domaincom.crt
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/domaincom.key
</VirtualHost>

Aushosts
04-01-2003, 05:03 AM
My httpd.conf
domain.com.au has an SSL cert installed -->

edit, grabed the httpd.conf file from wrong server

<VirtualHost xxx.xxx.xxx.xxx:443>
ServerAdmin webmaster@www.domain.com.au
DocumentRoot /home/domain/public_html
BytesLog domlogs/domain.com.au-bytes_log
User domain
Group domain
ServerName www.domain.com.au
CustomLog /usr/local/apache/domlogs/www.domain.com.au-ssl_log "%t ${version}c %{cipher}c %{clientcert}c"
SSLEnable
SSLCertificateFile /usr/share/ssl/certs/www.domain.com.au.crt
SSLCertificateKeyFile /usr/share/ssl/private/www.domain.com.au.key
SSLCACertificateFile /usr/share/ssl/certs/www.domain.com.au.cabundle
SSLLogFile /var/log/www.domain.com.au
UserDir public_html
ScriptAlias /cgi-bin/ /home/domain/public_html/cgi-bin/
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
</VirtualHost>
</IfDefine>

mpope
04-01-2003, 05:08 AM
CPanel 5 can be kind of touchy with SSL certs. You'll have to mess with the settings to get it to work... Pay attention to the errors you get, they will help. By the SSLCertificateFile error, that tells me you should try commenting that line out and reloading HTTPD. If you get another error, do the same... keep doing that untill httpd starts. :D

Also... I've noticed Cpanel6 is a lot more friendly with these issues. If you can't get it to start.. maybe do a /scripts/upcp and then try to install the cert. :)

inteltechs
04-01-2003, 05:08 AM
you need to upgrade to cpanel 6 as soon as possible :)....there are quite a few issues in that version :)...

Aushosts
04-01-2003, 05:10 AM
Looks like a subdomain entry in cpanel to me, have a look at mine...
It also needs to be on an IP by itself and have IP:443

Originally posted by rlynch
im using cpanel5

i got apache to start, however i cant connect to the url

this is the derivatives from httpd.conf:

<VirtualHost 216.180.251.106>
BytesLog domlogs/secure.domain.com-bytes_log
ServerName secure.domain.com
ServerAdmin wwwadmin@domain.com
DocumentRoot /home/domain/public_html/secure
CustomLog domlogs/secure.domain.com combined
ScriptAlias /cgi-bin/ /home/domain/public_html/secure/cgi-bin/
User domain
Group domain
SSLCertificateFile /usr/local/apache/conf/ssl.crt/domaincom.crt
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/domaincom.key
</VirtualHost>