https://issues.apache.org/bugzilla/show_bug.cgi?id=47256

           Summary: Enable SSL on a per-port basis
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: PatchAvailable
          Severity: normal
          Priority: P2
         Component: mod_ssl
        AssignedTo: [email protected]
        ReportedBy: [email protected]


Created an attachment (id=23708)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=23708)
Add port number option to SSLEngine configuration directive

This patch allows a single virtualhost entry to serve both SSL and non-SSL
requests.  This is useful in a mass hosting environment.  Note that each SSL
certificate still requires a dedicated ip address/port.

Consider the following configuration:

<VirtualHost 10.0.0.1:80 10.0.0.1:443>
    ServerName one.example.com
    DocumentRoot one
    SSLEngine 443
    SSLCertificateFile    ssl-cert-one.pem
    SSLCertificateKeyFile ssl-cert-one.key
</VirtualHost>

<VirtualHost 10.0.0.2:80 10.0.0.2:443>
    ServerName two.example.com
    DocumentRoot two
    SSLEngine 443
    SSLCertificateFile    ssl-cert-two.pem
    SSLCertificateKeyFile ssl-cert-two.key
</VirtualHost>

Without this patch, this setup would require twice the number of virtualhost
entries.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to