Page 1 of 1

SSL

PostPosted: 02. January 2010 23:18
by release
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

Re: SSL

PostPosted: 07. January 2010 12:01
by skuipers
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

Re: SSL

PostPosted: 09. January 2010 04:09
by release
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

Re: SSL

PostPosted: 09. January 2010 09:44
by release
no, i spelled wrong ^^