httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marc Stern" <>
Subject X509_STORE_CTX contents and getting the issuer
Date Tue, 18 May 2004 13:42:42 GMT

I want to find the issuer of the current certificate in "ssl_callback_SSLVerify_CRL()".

The certificate is "X509_STORE_CTX_get_current_cert(ctx)", where ctx is the parameter to "ssl_callback_SSLVerify_CRL()".
That's easy.

The problem is to use the "X509_STORE_CTX_get1_issuer()" function. It tries to get the issuer
from ctx->ctx, but it seems that the issuer is in ctx->chain.
Do I have to build another X509_STORE_CTX structure ? If so, how ? By adding each certificate
from the chain to a store, and then initialise a context from that store ?


View raw message