[openssl-users] Client certificate

Bernhard Fröhlich ted at convey.de
Fri Jan 16 08:30:40 UTC 2015


Am 16.01.2015 um 09:05 schrieb Vladimir Zatsepin:
> Hi there,
>
> I am developing some app using openssl 1.0.1e now and I have a little 
> problem with my app.
> A client sets SSL-connection with server and tries to get some data 
> from it. I use client authentication during the connection 
> establishment. I have set my custom verify callback and now I can 
> verify client certificate chain in my own way.
>
> But can I get the client certificate after handshake? Where is it 
> located in SSL or SSL_CTX structs? I must get this on 
> SSL_read/SSL_write methods level

Maybe you're looking for SSL_get_peer_certificate?

Hope it helps
Ted
;)

-- 
PGP Public Key Information
Key ID = 7AFB8D26
Key fingerprint = 31B0 E029 BCF9 6605 DAC1  B2E1 0CC8 70F4 7AFB 8D26




More information about the openssl-users mailing list