Multiple SSL certificates per virtualhost - Dual/Triple certificat setup with RSA,ECC,DSA
Since Apache 2.4.8 [1] it's possible to define multiple SSL certificate type (RSA, ECC, DSA) per virtualhost.
Example
-
<VirtualHost 194.126.200.29:443>
-
ServerName example.com
-
SSLEngine on
-
# example.com_rsa.bundle.crt contains certificate and intermediates
-
SSLCertificateFile /etc/ssl/cert/example.com_rsa.bundle.crt
-
SSLCertificateKeyFile /etc/ssl/key/example.com_rsa.key
-
SSLCertificateFile /etc/ssl/cert/example.com_ecc.bundle.crt
-
SSLCertificateKeyFile /etc/ssl/key/example.com_ecc.key
-
</VirtualHost>
The current SSL management within cPanel is limited to one certificate
per virtualhost. It would be nice, if the SSL manager core could support
multiple certs of different Public key algorithm types per virtualhost.
When using a dual/tripple cert setup, the certificate and the
intermediate certificates have to be combined in one file. Otherwise
Apache is not able to determine which intermediate belongs to an
certificate. This is an additional change of the SSL core system. The
combination of certificate and intermediates can be performed/released
first. This is the base for a multi certificate support.
What are the advantages of a dual/triple cert setup?
Support for a ECC certs (small key size, low latency, speed) with an fall-back to RSA if a client has no support for ECDSA [2].
The Wikimedia Ops people have a very interesting thread [3] about their dual cert setup.
Who is using this setup?
facebook.com- wikipedia.org
- stackoverflow.com
- t.co
[1] https://httpd.apache.org/docs/2.4/mod/mod_ssl.html#sslcertificatefile
[2] https://istlsfastyet.com/#ecc
This is needed as we are moving away from RSA certs, and all modern OSes support ECDSA certs (since Vista/Server 2008).
This is needed as we are moving away from RSA certs, and all modern OSes support ECDSA certs (since Vista/Server 2008).
Replies have been locked on this page!