aboutsummaryrefslogtreecommitdiff
path: root/doc/libmicrohttpd.texi
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-12-21 16:28:54 +0000
committerChristian Grothoff <christian@grothoff.org>2013-12-21 16:28:54 +0000
commit9889fd9eeec2c8d40f6a627720fb1afeac044ab0 (patch)
treefc91c30734fbc0113e139b0ea05ec499d300a198 /doc/libmicrohttpd.texi
parent00a9277f498260289d89f0de6783829b6391394b (diff)
downloadlibmicrohttpd-9889fd9eeec2c8d40f6a627720fb1afeac044ab0.tar.gz
libmicrohttpd-9889fd9eeec2c8d40f6a627720fb1afeac044ab0.zip
add support for SNI
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r--doc/libmicrohttpd.texi16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index 6780ef68..c27d36a4 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -701,6 +701,22 @@ are acceptable for the application. The string is passed
701unchanged to gnutls_priority_init. If this option is not 701unchanged to gnutls_priority_init. If this option is not
702specified, ``NORMAL'' is used. 702specified, ``NORMAL'' is used.
703 703
704@item MHD_OPTION_HTTPS_CERT_CALLBACK
705@cindex SSL
706@cindex TLS
707@cindex SNI
708Use a callback to determine which X.509 certificate should be used for
709a given HTTPS connection. This option should be followed by a
710argument of type "gnutls_certificate_retrieve_function2 *". This
711option provides an alternative to MHD_OPTION_HTTPS_MEM_KEY and
712MHD_OPTION_HTTPS_MEM_CERT. You must use this version if multiple
713domains are to be hosted at the same IP address using TLS's Server
714Name Indication (SNI) extension. In this case, the callback is
715expected to select the correct certificate based on the SNI
716information provided. The callback is expected to access the SNI data
717using gnutls_server_name_get(). Using this option requires GnuTLS 3.0
718or higher.
719
704@item MHD_OPTION_DIGEST_AUTH_RANDOM 720@item MHD_OPTION_DIGEST_AUTH_RANDOM
705@cindex digest auth 721@cindex digest auth
706@cindex random 722@cindex random