Hi All, I use BIO_new_mem_buf and PEM_read_bio_X509 to convert the certificate in memory buffer to X509 certificate format. Finally the certificate is then added to the CA store.
If the buffer contains certificate chain like -----BEGIN CERTIFICATE----- ... (CA certificate 1) ... -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- ... (CA certificate 2) ... -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- ... (CA certificate 3) ... -----END CERTIFICATE----- Only the first certificate is then read. Is there a way to handle the appended CA's? I cannot use SSL_CTX_load_verify_locations as my program does not have access to the file system or the files directly.Regards Aravind GJ