curl-users
Re: 77 error when using cURL from cmd line, on Windows 10 for HTTP Post
Date: Thu, 22 Feb 2018 01:53:38 -0500
On 2/20/2018 3:32 PM, James Stephenson wrote:
> I am using the cURL command line program to do an HttpPost to a
> medical records company, from a Windows 10 pc.
>
> When I send the request I am getting an error that says:
>
> curl: (77) error setting certificate verify locations:
>
> It then lists a completely unrelated file: CAfile:
> C:\RailsInstaller\cacert.pem
>
> with a path of: CApath: none
>
> I am not using anything to do with Rails on this and am really not
> sure why it is picking that file to look for the certificate.
Where did you get your build of curl? That may be set as the default
location, or:
Check if environment variable CURL_CA_BUNDLE or SSL_CERT_FILE is set.
Also check %APPDATA%\_curlrc for --cacert.
You can put a file curl-ca-bundle.crt in the same directory as curl or
in the system path.
-----------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-users
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2018-02-22