ispCP - Board - Support
[SOLVED] ispCP & SSL (Ubuntu 8.04) - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: [SOLVED] ispCP & SSL (Ubuntu 8.04) (/thread-6620.html)



[SOLVED] ispCP & SSL (Ubuntu 8.04) - Obli - 05-04-2009 11:54 PM

I have a Problem using SSL for a customer domain.
If i try to connect to his page via ssl it takes some time and i get error 503.

apache's error log gives me the following line:
nvalid method in request \x16\x03\x01

i already found out that this error occurs if a browser tries to speak ssl to a non-ssl virtualhost. to avoid that, i need to add the specific port to all ip-entries in the config. i don't know where but somewhere this port number seems to be missing.

after creating the ssl-entry in apache's configs it worked, but about 10 minutes later i got the error.

ssl-entry:
Code:
<VirtualHost ip:443>
  ServerName ssl.mydomain.com
  DocumentRoot /var/www/virtual/mydomain.com/ssl/htdocs
  <IfModule mod_ssl.c>
    SSLEngine on
    SSLCertificateKeyFile /etc/apache2/ssl/mydomain.key
    SSLCertificateFile /etc/apache2/ssl/mydomain.crt
    SetEnvIf User-Agent ".*MSIE.*" \
      nokeepalive ssl-unclean-shutdown \
      downgrade-1.0 force-response-1.0
    <Files ~ "\.(cgi|shtml|phtml|php3?)$">
      SSLOptions +StdEnvVars
    </Files>
  </IfModule>
</VirtualHost>

the subdomain i use for ssl is also created within ispcp.


RE: ispCP & SSL (Ubuntu 8.04) - BeNe - 05-05-2009 12:01 AM

Next ispCP Version comes with SSL - so the best way is to wait!

Greez BeNe


RE: ispCP & SSL (Ubuntu 8.04) - Obli - 05-05-2009 02:03 AM

Already solved the problem.

The error occurs of you have already a domain mounted to the documentroot you want to use for the one with ssl. so you have to configure the domainsettings manually without ispcp.