More than 1 site with SSL

Discussion in 'Installation/Configuration' started by boombari, May 18, 2012.

  1. boombari

    boombari New Member

    Hi to all,

    i have ispconfig3 with 10 sites ... all works well.

    10 days ago i install an SSL certificate for 1 site, i configure it in Ispconfig, works ...

    now, i'm try to add an other site with SSL Certificate, so i buy new IP Address, configure it in the panel, and assign it to my new site, and then i activate SSL from the Ispconfig ... crash.

    Trying to restart apache2 .... failed. In /var/log/apache2/error.log seems to stop logging ... :(

    what's the problem ?
     
  2. falko

    falko Super Moderator Howtoforge Staff

    Did you configure the second SSL site to use the new IP (instead of * or another IP)?
     
  3. boombari

    boombari New Member

    yes, every site is configured as a IP, not *

    I have 2 IP address.

    example:

    site1: 92.48.23.23
    site2: 92.48.23.23
    site3: 93:47.67.2

    site4 with SSL: 93:47.67.2
    site5 with SSL: 92.48.23.23

    No site is configured as * as IP
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    SNI is only supported by newer apache versions, for older versions you have to use a dedicated IP address for each ssl site. Which apache version do you use?
     
  5. boombari

    boombari New Member

    I have recently upgrade ISP Config to 3.0.4.5 ...so apache is 2.2.9

    I have set 1 IP address for each SSL Site, but only the first works, if i configure the second SSL Site with an other IP, the .vhost configuration didn't pass the test, and write an vhost.err file :(
     
  6. falko

    falko Super Moderator Howtoforge Staff

  7. boombari

    boombari New Member

    ok, i'm updating with apitutude ...
     
  8. boombari

    boombari New Member

    nothing ...

    enable SSL. Testing configuration ... vhost.err file created :(
     
  9. till

    till Super Moderator Staff Member ISPConfig Developer

    1) Disable ssl in that website.
    2) Delete all files in the ssl/ subfolder of the site.
    3) Create a new self signed ssl cert in ispconfig and enable ssl again.
     
  10. boombari

    boombari New Member

    perfect ! :)

    thanks till !

    watching apache log files now, after an aptitute upgrade, i see:


    <b>Deprecated</b>: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
    <br />
    <b>Deprecated</b>: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
    <br />

    What is ?
     
  11. boombari

    boombari New Member

    till,

    the SSL problem isn't solved ! :(

    step:

    - clear certificate
    - disable ssl
    - vhost file written, without err
    - create certificate
    - in ssl tab create the CSR, ok .. but the CRT too ... is it strange ?
    - then enable SSL
    - vhost file written, without err

    when i clear the CRT field to insert MY CRT, and "save certificate" the configuration file doesn't pass the test and vhost.err is created !
     

Share This Page