SSL

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

SSL

Postby release » 02. January 2010 23:18

Hi i have probs with ssl.. when i have done all, apache wont start :s
This first is the untouched https-ssl.conf

## SSL Virtual Host Context
##

<VirtualHost _default_:443>

# General setup for the virtual host
DocumentRoot "/opt/lampp/htdocs"
ServerName www.example.com:443
ServerAdmin you@example.com
ErrorLog /opt/lampp/logs/error_log
TransferLog /opt/lampp/logs/access_log


//////////////////////////////////////
----------------------------------------------------
Now, this one is the done

<VirtualHost _default_:443>

# General setup for the virtual host
DocumentRoot "/opt/lampp/htdocs"
ServerName www.mysite:443
ServerAdmin mysite@hushmail.com
ErrorLog /opt/lampp/logs/error_log
TransferLog /opt/lampp/logs/access_log

///////////////////////////////////

<VirtualHost _default_:443>
DocumentRoot /opt/lampp/htdocs
ErrorLog /opt/lampp/logs/error_log
TransferLog /opt/lampp/logs/access_log
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM

SSLCertificateFile /opt/lampp/ssl.crt
SSLCertificateKeyFile /opt/lampp/ect/ssl.key/ssl.key
SSLCertificateChainFile /opt/lampp/ect/sub.class1/sub.class1.server.ca.pem
SSLCACertificateFile /opt/lampp/ect/ca.pem/ca.pem
SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
CustomLog /opt/lampp/logs/logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>

all the paths is ok, but if i run this ls -l /opt/lampp/ect/ssl.key/ i get
can not access / opt / lampp / ect / ssl.crt /: The file or directory does not exist . this one /opt/lampp/ssl.key is full path and inside the ssl.key foolder is the ssl.key

regards
release
 
Posts: 4
Joined: 02. January 2010 22:14

Re: SSL

Postby skuipers » 07. January 2010 12:01

release wrote:all the paths is ok, but if i run this ls -l /opt/lampp/ect/ssl.key/ i get
can not access / opt / lampp / ect / ssl.crt /: The file or directory does not exist . this one /opt/lampp/ssl.key is full path and inside the ssl.key foolder is the ssl.key

Is this really the path you have used? It should be etc instead of ect.

Simon
skuipers
 
Posts: 99
Joined: 21. January 2005 16:27
Location: The Netherlands

Re: SSL

Postby release » 09. January 2010 04:09

every thing works now.. ^^ but there is a "small problem" entire site has blue addressbar, but when you go to the index page .. it disappearance the blue address bar but still is https why is that.. not blue as the rest of the site ? regards
release
 
Posts: 4
Joined: 02. January 2010 22:14

Re: SSL

Postby release » 09. January 2010 09:44

no, i spelled wrong ^^
release
 
Posts: 4
Joined: 02. January 2010 22:14


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 3 guests