How to Solve the cURL (60) Error When Using Proxy?

by mostafa Mar 14, 2024

The cURL (60) error is a common error encountered when using proxies with cURL. The full error traceback looks like the following:

curl: (60) schannel: SEC_E_UNTRUSTED_ROOT (0x80090325) - The certificate chain was issued by an authority that is not trusted.
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it.

This error happens when cURL attempts to request a web page over the HTTPs protocol with a proxy server that doesn't have a valid TLS certificate. Hence, it fails to establish a secure connection.

To solve the cURL (60) error, you can use a proxy that has a valid TLS certificate to support the HTTPs protocol. Alternatively, you can omit establishing the secure connection by adding the -k cURL option:

curl -x https://proxy_domain.com:proxy_port https://httpbin.dev/ip -k

For further details on proxies, including their types and best practices when choosing a proxy, refer to our introduction guide.

The Complete Guide To Using Proxies For Web Scraping

Introduction to proxy usage in web scraping. What types of proxies are there? How to evaluate proxy providers and avoid common issues.

The Complete Guide To Using Proxies For Web Scraping

Related Articles

Bypass Proxy Detection with Browser Fingerprint Impersonation

Stop proxy blocks with browser fingerprint impersonation using this guide for Playwright, Selenium, curl-impersonate & Scrapfly

PROXIES
SELENIUM
PLAYWRIGHT
PUPPETEER
BLOCKING
Bypass Proxy Detection with Browser Fingerprint Impersonation

How Caching Can Cut Your Proxy Bill by 70%

Learn how intelligent caching strategies can reduce proxy costs by 40-70%. Complete guide to bandwidth optimization and proxy management.

PROXIES
How Caching Can Cut Your Proxy Bill by 70%

How to Optimize NetNut Proxies

Learn how to set up and optimize NetNut proxies for web scraping, including bandwidth reduction techniques and integration with Scrapfly Proxy Saver.

PROXIES
How to Optimize NetNut Proxies

How to Optimize Webshare Proxies

Webshare is a fast-growing proxy provider offering affordable proxy solutions for various web scraping and automation tasks. Here's how to make best of it.

PROXIES
How to Optimize Webshare Proxies

How to Optimize Oxylabs Proxies

Learn how to optimize Oxylabs proxies for efficient web scraping using Python and Scrapfly Proxy Saver. Reduce bandwidth, improve speed, and cut costs.

PROXIES
How to Optimize Oxylabs Proxies

How to Reduce Your Bright Data Bandwidth Usage

Learn how to reduce Bright Data proxy bandwidth usage using Python optimizations and Scrapfly Proxy Saver to cut data costs by up to 30%

PROXIES
How to Reduce Your Bright Data Bandwidth Usage