Articles on: API

SSL certificate errors

If you're getting SSL errors from our ScrapingBee, here are the most common ways to fix it:

Update your OpenSSL version



https://letsencrypt.org/docs/dst-root-ca-x3-expiration-september-2021/

We're using Let's Encrypt certificate on the app.scrapingbee.com subdomain.
Since September 30th 2021, Let's Encrypt uses SRG Root X1 certificates.

Those certificates are only accepted by OpenSSL version 1.10 or later.


Disable SSL verification with your HTTP client



In Python, you can disable the SSL verification like this:

requests.get('https://example.com', verify=False)


In Javascript you can do it like this:

const agent = new https.Agent({  
  rejectUnauthorized: false
});
axios.get('https://example.com', { httpsAgent: agent });

Updated on: 04/10/2021

Was this article helpful?

Share your feedback

Cancel

Thank you!