Problem setting up a new site with a ssl certificate

Problems with the Linux version of XAMPP, questions, comments, and anything related.

Problem setting up a new site with a ssl certificate

Postby mikexp » 10. June 2005 23:37

I cant seam to figure out how to setup XAMPP with ssl, I created a CSR and KEY and got my cert in PEM format.

Im not an apache expert so I have no idea what to look at.

The .crt file and .key file are clear text files with the pem data pasted into them.

I added the folliowing to the httpd.conf file

DocumentRoot /nfs/server/html
ErrorLog /nfs/server/logs/error_webserver1
TransferLog /nfs/server/logs/access_webserver1
SSLEngine on
SSLCertificateFile /opt/lampp/etc/ssl.crt/mysitename.crt
SSLCertificateKeyFile /opt/lampp/etc/ssl.key/mysitename.key
# SSLCACertificateFile /etc/httpd/conf/ssl.crt/ca-bundle.crt
<Files ~ "\.(cgi|shtml)$">
SSLOptions +StdEnvVars
<Directory "/etc/httpd/cgi-bin">
SSLOptions +StdEnvVars
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
CustomLog /nfs/server/logs/ssl_request_log_webserver1 \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"

and when I try to start XAMPP I get the error

[root@webserver1 /]# /opt/lampp/lampp start
Starting XAMPP for Linux 1.4.13...
XAMPP: Starting Apache with SSL (and PHP4)...
XAMPP: Error 1! Couldn't start Apache!
XAMPP: Starting diagnose...
XAMPP: Sorry, I've no idea what's going wrong.
XAMPP: Please contact our forum
XAMPP: Starting MySQL...
XAMPP: Starting ProFTPD...
XAMPP for Linux started.

So it wont start and never asks me for the passphrase
Posts: 3
Joined: 10. June 2005 23:17

Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 9 guests