I think that'll currently require a patch, as there is no good way to pass alternative (non-X.509) certificates to GnuTLS right now (but I didn't look too deep into this, so I might have missed some tricky hack to make it work).
On 05/14/15 16:56, Jiri Kastner wrote: > i'm throwing another one :) > for example apache mod_gnutls can use gnupg keys, instead of 'certificate > authorities' 'web of trust'. > as gnutls provides i/o for gnupg key format, can libmicrohttpd application > use them? > > best regards > j. > > On Thu, 07 May 2015 16:24:12 +0200, Piotr Grzybowski wrote: > >> daemon = MHD_start_daemon (MHD_USE_SELECT_INTERNALLY | MHD_USE_SSL, >> PORT, NULL, NULL, >> &answer_to_connection, NULL, >> MHD_OPTION_HTTPS_MEM_KEY, key_pem, >> MHD_OPTION_HTTPS_MEM_CERT, cert_pem, >> MHD_OPTION_END); >> > >
