Hi, i’m trying to develop an application based on tunnel and Openssl 0.9.7 The application works well using normal PEM certificates, but my problem is that, on the client, i have a chain of certificates: Exactly I have: -Public and private key of a certificate A -Public key of the certificate B belonging to the issuer of the certificate A -Public key of the CA which released the certificate B
On the server I only have the CA’s public key. I tried to use on the client side SSL_CTX_use_certificate (for A certificate) and SSL_CTX_add_extra_chain_cert (to add B certificate) I expected to get B certificate using SSL_get_peer_cert_chain on the server, but it returns NULL Can somebody help me? Best Regards -- --- Ing. Pietro Di Primo INFN - Istituto Nazionale di Fisica Nucleare Grid Computing Research Area Via S. Sofia 78 95123 CATANIA (Italy) Voice : +39 095 378-5446/5517 Fax. : +39 095 378 5518 Mobile : +39 320 8591527 E-mail : [EMAIL PROTECTED] Skype : pietrodiprimo ______________________________________________________________________ OpenSSL Project http://www.openssl.org Development Mailing List openssl-dev@openssl.org Automated List Manager [EMAIL PROTECTED]