diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-21 16:28:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-21 16:28:54 +0000 |
commit | 9889fd9eeec2c8d40f6a627720fb1afeac044ab0 (patch) | |
tree | fc91c30734fbc0113e139b0ea05ec499d300a198 /doc/libmicrohttpd.texi | |
parent | 00a9277f498260289d89f0de6783829b6391394b (diff) | |
download | libmicrohttpd-9889fd9eeec2c8d40f6a627720fb1afeac044ab0.tar.gz libmicrohttpd-9889fd9eeec2c8d40f6a627720fb1afeac044ab0.zip |
add support for SNI
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r-- | doc/libmicrohttpd.texi | 16 |
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 | |||
701 | unchanged to gnutls_priority_init. If this option is not | 701 | unchanged to gnutls_priority_init. If this option is not |
702 | specified, ``NORMAL'' is used. | 702 | specified, ``NORMAL'' is used. |
703 | 703 | ||
704 | @item MHD_OPTION_HTTPS_CERT_CALLBACK | ||
705 | @cindex SSL | ||
706 | @cindex TLS | ||
707 | @cindex SNI | ||
708 | Use a callback to determine which X.509 certificate should be used for | ||
709 | a given HTTPS connection. This option should be followed by a | ||
710 | argument of type "gnutls_certificate_retrieve_function2 *". This | ||
711 | option provides an alternative to MHD_OPTION_HTTPS_MEM_KEY and | ||
712 | MHD_OPTION_HTTPS_MEM_CERT. You must use this version if multiple | ||
713 | domains are to be hosted at the same IP address using TLS's Server | ||
714 | Name Indication (SNI) extension. In this case, the callback is | ||
715 | expected to select the correct certificate based on the SNI | ||
716 | information provided. The callback is expected to access the SNI data | ||
717 | using gnutls_server_name_get(). Using this option requires GnuTLS 3.0 | ||
718 | or 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 |