https client using libcurl and openssl
https client using libcurl and openssl
I'm working on an windows program that needs to use https. I'm using libcurl, openssl (openssl-Win32) & everything compiles OK. I can do http just fine, but https doesn't seem to work. I think it may be a cert issue. How do I specify trusted certs and/or ssl options?
-
- Posts: 862
- Joined: May 05, 2015 5:35
- Location: Germany
Re: https client using libcurl and openssl
You can use to skip the certificate verification.
Code: Select all
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0)