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: René Berber via curl-library <curl-library_at_cool.haxx.se>
Date: Thu, 27 May 2021 10:52:45 -0500

On 5/27/2021 10:30 AM, Arantxa Esparza via curl-library wrote:

> 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
------------------------------------------------------------------^^^^^^^^^

That seems wrong, the actual path has a space in it, the quoted path
only shows a botched path.

It should be:

\My Certificates\

Something tried to quote the space, but it did it wrong and using shell
escape, which happens to be the MS path separator.
-- 
R.Berber
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.se/mail/etiquette.html
Received on 2021-05-27