curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

RE: WIN - Command Prompt - Curl: (77) error setting certificate verify locations

From: Arantxa Esparza via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 27 May 2021 17:30:02 +0200

C:\username\2021_NN_Log_Analyzer>C:\Users\username\Downloads\curl-7.76.1-win
64-mingw\bin\curl -i -X POST https://CAMERAIP:PORT/axis-cgi/time.cgi -H
"Content-Type:application/json" --data "{\"apiVersion\":
\"1.0\",\"context\": \"Client defined request ID\",\"method\":
\"getDateTimeInfo\"}
curl: (77) error setting certificate verify locations: CAfile:
"C:\Users\username\AppData\Roaming\Microsoft\SystemCertificates\My\Certifica
tes\curl-ca-bundle.crt" CApath: none


The error is the previous one. I don't understand what you mention: " Your
curl image was built or is instructed to read a ca-cert file that causes
OpenSSL to return error."

The version is next: curl-7.76.1-win64-mingw\bin\curl

And yes, the ca-cert exists.

Expecting your answer, thanks!!



-----Mensaje original-----
De: Daniel Stenberg <daniel_at_haxx.se>
Enviado el: jueves, 27 de mayo de 2021 15:10
Para: Arantxa Esparza via curl-library <curl-library_at_cool.haxx.se>
CC: Arantxa Esparza <aesparza_at_begirale.com>
Asunto: Re: WIN - Command Prompt - Curl: (77) error setting certificate
verify locations

On Thu, 27 May 2021, Arantxa Esparza via curl-library wrote:

Please show error messages as text, not as images. Some of us still read
emails using text only.

> I'm getting this error once and again and I don't know how to deal with
it.
>
> Curl: (77) error setting certificate verify locations: ..

Your curl image was built or is instructed to read a ca-cert file that
causes OpenSSL to return error. Does it really exist and is readable there?

-- 
  / daniel.haxx.se
  | Commercial curl support up to 24x7 is available!
  | 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.se/mail/etiquette.html
Received on 2021-05-27