Hello,
 
>> "... Curl isn't supporting https. Install curl with support auf https and
>> try again."

> That sounds like an error message provided by something else than curl.
 
Yeah your right, I'm sry I did not find the correct section in the code.
After performing "res = curl_easy_perform(...)" the res variable is set to "CURLE_UNSUPPORTED_PROTOCOL". So there isn't an error.
 
> When you build curl with the winbuild makefile, you need to point out the
> OpenSSL directory accordingly and I didn't see that in your command line. Did
> you?
 
No I did not set a Path. The following diagramm is copied from the BUILD.WINDOWS.txt file in the winbuild directory.
 
   somedirectory\
    |_curl-src
    | |_winbuild
    |
    |_deps
      |_ lib
      |_ include
      |_ bin
 
I thought it meant that I don't have to set the path explicitly.
 
Are there any advantages from using openSSL instead of winSSL?
 
Im sry for asking this more or less dumb questions, Idid not finde any tutorial in the Internet.
Best regards
 
Sebastian
 
Gesendet: Montag, 09. Dezember 2019 um 17:26 Uhr
Von: "Daniel Stenberg" <[email protected]>
An: [email protected]
Cc: "Sebastian via curl-library" <[email protected]>
Betreff: Re: Aw: Re: Can't compile lib-curl with openSSL on windows
On Mon, 9 Dec 2019, [email protected] wrote:

> "... Curl isn't supporting https. Install curl with support auf https and
> try again."

That sounds like an error message provided by something else than curl.

When you build curl with the winbuild makefile, you need to point out the
OpenSSL directory accordingly and I didn't see that in your command line. Did
you?

> No I haven't used that property while building curl. Is this another flag to
> set?

The "ca bundle", known somethings as a "ca store" is in the case of OpenSSL a
separate file that you need to point curl to so that it can verify the
server's certificate that it provides in the TLS handshake. I recommend
getting it from here: https://curl.haxx.se/docs/caextract.html

curl with OpenSSL cannot use the CA store that's is included in Windows.

--

/ daniel.haxx.se | Get the best commercial curl support there is - from me
| Private help, bug fixes, support, ports, new features
| https://www.wolfssl.com/contact/
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Reply via email to