TLS Extensions and ISPC stable

Discussion in 'General' started by archerjd, Nov 11, 2007.

  1. archerjd

    archerjd New Member

    I have backported Openssl-0.9.8g with enable-tlsext using pbuilder and patched the apache2-common package to support SNI.

    My question is, is there a way I can alter ISPC to allow more then one site on one IP address?

    I can configure the sites manually but I would much rather have ISPC do it for me.

    Thanks in advance.

    Edit: Can't change the thumbs down icon...
    This post is also in the wrong place, can an op move this to the right location?
     
    Last edited: Nov 11, 2007
  2. archerjd

    archerjd New Member

    I found it.
    /home/admispconfig/ispconfig/lib/classes/ispconfig_isp_web.lib.php contains the following twice:
    Code:
        //////////////////////////////////////////////////////
        // Check ob bereits ein SSL Cert auf der IP Existiert
        //////////////////////////////////////////////////////
    
        $ssl_count = $go_api->db->queryOneRecord("SELECT count(doc_id) as ssl_count from isp_isp_web where web_ip = '".$web["web_ip"]."' and web_ssl = 1");
        if($ssl_count["ssl_count"] > 1) {
            // Es existiert bereits ein SSL Web mit dieser IP
            $status = "NOTIFY";
            $errorMessage .= $go_api->lng("error_web_ssl_exist");
            $go_api->db->query("UPDATE isp_isp_web set web_ssl = 0 where doc_id = $doc_id");
        }
    In order to get past this I commented it out with //
     

Share This Page