Hello,
I have an SSL client-server application in which the server
authenticates to the client sending its certificate in the SSL handsake,
but the client doesn't authenticates to the server.
Fo my SSL client-server aplication, I need that both authenticates each
other.
_
When I use verifycallback lik this:
int MS_CALLBACK verify_callback(int ok, X509_STORE_CTX *ctx)
{
char buf[256];
X509 *err_cert;
int err,depth;
err_cert=X509_STORE_CTX_get_current_cert(ctx);
err=X509_STORE_CTX_get_error(ctx);
depth=
thanks a lot.
but how to sends the certificate of the CA that issued the client
certificate together with the client certificate.
and I allready used the SSL_CTX_use_certificate_chain_file(ctx,CERTF);
I used the s_client to connect to my serevr like:
OpenSSL> s_client -connect myserver:port -k
Soory to bother again.
I have a certificate from verisign, but what is the CA of versign, and how
ca i get it?
thanks
__
OpenSSL Project http://www.openssl.org
User Support Mailing List
in multhread program, everify thread has a client certificate
verify_callback, in the verify_callback function,I need to tell the thread
the err info, how can I know this verify_callback function belong to which
thread?
thanks.