All, I encountered a problem. There is no trusted cert list in my system, so I have to ignore the certificate chain self signed error. Which API can I use?
Two API invocation below do not worked. SSL_CTX_set_trust(ctx, X509_TRUST_SSL_CLIENT); X509_STORE_set_trust(store, 1); Thank you. -- Best regards to you and your family