curl-library
Loading multiple certificates in SSL_CTX_FUNCTION
From: scott goldman <scottjg_at_umich.edu>
Date: Wed, 12 Jul 2006 12:21:30 -0400
Date: Wed, 12 Jul 2006 12:21:30 -0400
Hi.
I saw the example that shows how to hardcode a root certificate using the
ssl_ctx_function. This works, but if I try to add another certificate by
just listing it after the first one like so...
char *mypem =
"-----BEGIN CERTIFICATE-----\n"\
...
"-----END CERTIFICATE-----\n"\
"-----BEGIN CERTIFICATE-----\n"\
...
"-----END CERTIFICATE-----\n"\
The second cert does not appear to be used to verify peers. Is there
something I'm missing?
Thanks.
--Scott
Received on 2006-07-12