On Wed, Mar 3, 2021 at 11:02 AM Stefan Eissing
<stefan.eiss...@greenbytes.de> wrote:
>
> Good that there is RĂ¼diger!

+1

>
> Thinking about this: how much work would it be for mod_ssl to accept PEM 
> bytes? That would make the exchange of certificate independent of the file 
> system and portable.
>
> typedef struct ap_bytes ap_bytes;
> struct {
>   const char *data;
>   apr_size_t len;
> } ap_bytes;
>
> AP_DECLARE(int) ap_ssl_answer_challenge(conn_rec *c, const char *server_name, 
> const ap_bytes **pcertificate_key_pem);

Possibly apr_array_header_t could do it too:
  AP_DECLARE(int) ap_ssl_answer_challenge(conn_rec *c, const char
*server_name, const apr_array_header_t **pcertificate_key_pem);
?

Reply via email to