Mercurial > hg > nginx-site
diff xml/en/docs/stream/ngx_stream_ssl_module.xml @ 1726:a0bc284941f6
Documented multiple certificates support.
author | Maxim Dounin <mdounin@mdounin.ru> |
---|---|
date | Tue, 07 Jun 2016 19:00:50 +0300 |
parents | 38fb3e6b71e8 |
children | 0dfb7628bfee |
line wrap: on
line diff
--- a/xml/en/docs/stream/ngx_stream_ssl_module.xml +++ b/xml/en/docs/stream/ngx_stream_ssl_module.xml @@ -9,7 +9,7 @@ <module name="Module ngx_stream_ssl_module" link="/en/docs/stream/ngx_stream_ssl_module.html" lang="en" - rev="7"> + rev="8"> <section id="summary"> @@ -91,6 +91,30 @@ order: the primary certificate comes fir A secret key in the PEM format may be placed in the same file. </para> +<para> +Since version 1.11.0, +this directive can be specified multiple times +to load certificates of different types, for example, RSA and ECDSA: +<example> +server { + listen 12345 ssl; + + ssl_certificate example.com.rsa.crt; + ssl_certificate_key example.com.rsa.key; + + ssl_certificate example.com.ecdsa.crt; + ssl_certificate_key example.com.ecdsa.key; + + ... +} +</example> +<note> +Only OpenSSL 1.0.2 or higher supports separate certificate chains +for different certificates. +With older versions, only one certificate chain can be used. +</note> +</para> + </directive>