aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/src/manual/ranch_ssl.asciidoc11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/src/manual/ranch_ssl.asciidoc b/doc/src/manual/ranch_ssl.asciidoc
index 754d90b..d6b03de 100644
--- a/doc/src/manual/ranch_ssl.asciidoc
+++ b/doc/src/manual/ranch_ssl.asciidoc
@@ -45,6 +45,11 @@ ssl_opt() = {alpn_preferred_protocols, [binary()]}
| {cacertfile, file:filename()}
| {cacerts, [public_key:der_encoded()]}
| {cert, public_key:der_encoded()}
+ | {certs_keys, [#{cert => public_key:der_encoded(),
+ key => ssl:key(),
+ certfile => file:filename(),
+ keyfile => file:filename(),
+ key_pem_password => iodata() | fun(() -> iodata())}]}
| {certfile, file:filename()}
| {ciphers, ssl:ciphers()}
| {client_renegotiation, boolean()}
@@ -123,6 +128,12 @@ cert::
DER encoded user certificate.
+certs_keys::
+
+A list of a certificate (or possible a certificate and its chain)
+and the associated key of the certificate, that may be used to
+authenticate the client or the server.
+
certfile::
Path to the PEM encoded user certificate file. May also