From f821c91cebe0cee22c1c6e0a9dfe45d4e9b5f129 Mon Sep 17 00:00:00 2001
From: Ingela Anderton Andin
Date: Tue, 5 Jun 2018 18:01:02 +0200
Subject: ssl: Add option customize_hostname_check
---
lib/ssl/doc/src/ssl.xml | 9 +++++++++
1 file changed, 9 insertions(+)
(limited to 'lib/ssl/doc')
diff --git a/lib/ssl/doc/src/ssl.xml b/lib/ssl/doc/src/ssl.xml
index 029f29cdb3..825bf46459 100644
--- a/lib/ssl/doc/src/ssl.xml
+++ b/lib/ssl/doc/src/ssl.xml
@@ -89,6 +89,7 @@
[binary()]} | {client | server, [binary()], binary()}}
| {log_alert, boolean()}
| {server_name_indication, hostname() | disable}
+ | {customize_hostname_check, list()}
| {sni_hosts, [{hostname(), [ssl_option()]}]}
| {sni_fun, SNIfun::fun()}
@@ -649,6 +650,14 @@ fun(srp, Username :: string(), UserState :: term()) ->
disables the hostname verification check
public_key:pkix_verify_hostname/2
+
+ {customize_hostname_check, Options::list()}
+ -
+
Customizes the hostname verification of the peer certificate, as different protocols that use
+ TLS such as HTTP or LDAP may want to do it differently, for possible options see
+ public_key:pkix_verify_hostname/3
+
+
{fallback, boolean()}
-
Send special cipher suite TLS_FALLBACK_SCSV to avoid undesired TLS version downgrade.
--
cgit v1.2.3