curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Using Windows certificate store when compiling with openssl

From: Thomas Glanzmann via curl-library <curl-library_at_cool.haxx.se>
Date: Fri, 7 Sep 2018 12:57:24 +0200

Hello Jan,

> x64 builds with OpenSSL just use the Windows certificate store. That
> applies even to cross-compiled x64 builds. Try it yourself
> https://phpdev.toolsforresearch.com/curl-mingw32-7.61.1.zip

I tried, but it failed for me on w2k8r2. I tried both the 32bit and x64:

> C:\Users\Administrator\Downloads\curl-mingw32-7.61.1>curl-i686-w64-mingw32-static.exe https://gmvl.de/ip
> curl: (60) SSL certificate problem: unable to get local issuer certificate
> More details here: https://curl.haxx.se/docs/sslcerts.html

> curl failed to verify the legitimacy of the server and therefore could not
> establish a secure connection to it. To learn more about this situation and
> how to fix it, please visit the web page mentioned above.

> C:\Users\Administrator\Downloads\curl-mingw32-7.61.1>curl-x86_64-w64-mingw32-static.exe https://gmvl.de/ip
> curl: (60) SSL certificate problem: unable to get local issuer certificate
> More details here: https://curl.haxx.se/docs/sslcerts.html

> curl failed to verify the legitimacy of the server and therefore could not
> establish a secure connection to it. To learn more about this situation and
> how to fix it, please visit the web page mentioned above.

Am I'm doing something wrong?

Cheers,
        Thomas
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-09-07