Current time: 12-23-2024, 02:02 PM Hello There, Guest! (LoginRegister)


Post Reply 
[SOLVED] ispCP & SSL (Ubuntu 8.04)
Author Message
Obli Offline
Junior Member
*

Posts: 12
Joined: Apr 2009
Reputation: 0
Post: #1
[SOLVED] ispCP & SSL (Ubuntu 8.04)
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.
(This post was last modified: 05-05-2009 02:04 AM by Obli.)
05-04-2009 11:54 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #2
RE: ispCP & SSL (Ubuntu 8.04)
Next ispCP Version comes with SSL - so the best way is to wait!

Greez BeNe
05-05-2009 12:01 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Obli Offline
Junior Member
*

Posts: 12
Joined: Apr 2009
Reputation: 0
Post: #3
RE: ispCP & SSL (Ubuntu 8.04)
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.
05-05-2009 02:03 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)