[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] HTTPS support
From: |
Christian Grothoff |
Subject: |
Re: [libmicrohttpd] HTTPS support |
Date: |
Thu, 14 May 2015 17:48:54 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0 |
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);
>>
>
>