curl / Mailing Lists / curl-users / Single Mail

curl-users

Re: cacert not working when using winssl

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Mon, 31 Jul 2017 17:34:36 +0200 (CEST)

On Mon, 31 Jul 2017, Stefan Wenhardt wrote:

> I'm using curl command line with the cacert option. I see that it fails
> certificate verification if I use the standard setting using winssl /
> SChannel. Retrying it with openssl, certificate verification works fine (of
> course I use the same certificate file in both tests). Is there any trick or
> maybe I'm doing something wrong?

I'm afraid that curl built with the winssl backend doesn't support passing in
a custom CA cert bundle! =(

> (Because of the nasty license of openssl I would prefer to use winssl in my
> application.)

Well, A) there are other SSL libraries as well and B) OpenSSL is about to
change their license to Apache v2...

-- 
  / daniel.haxx.se
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-07-31