https client using libcurl and openssl

External libraries (GTK, GSL, SDL, Allegro, OpenGL, etc) questions.
JohnD
Posts: 1
Joined: Apr 21, 2018 19:36

https client using libcurl and openssl

Postby JohnD » Apr 21, 2018 19:44

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?
grindstone
Posts: 591
Joined: May 05, 2015 5:35
Location: Germany

Re: https client using libcurl and openssl

Postby grindstone » Apr 22, 2018 12:28

You can use

Code: Select all

curl_easy_setopt(curl, CURLOPT_SSL_VERIFYPEER, 0)
to skip the certificate verification.

Return to “Libraries”

Who is online

Users browsing this forum: No registered users and 1 guest