10 years ago.

Example does not work..

Can you tell me how to get this root CA? I checked the chain by using openssl s_client -showcerts. The Issuer of the last one here tells me the root CA. So I just downloaded that off the web (in this case Verisign Class 3 - G5) in PEM format. I converted that to DER and got the bytes and replaced the cert.h with that. Is this the right way? Because I am getting -1 "Failed to connect to twitter.com" for this.

Question relating to:

Small wrapper of TLS_cyassl CyaSSL, https, SSL, TLS
Be the first to answer this question.