SSL Certificate

SSL certificates allow you to establish an end-to-end encrypted connection when using the search engine scraper API.

Note: If you are just doing preliminary testing, you can temporarily not use SSL certificates. Using SSL certificates is very simple, you just need to download it and choose how to use it according to your situation.

一.Download SSL Certificate

Click here to download the SSL certificate to your hard drive.

二.Use SSL Certificate in Code

1.In most cases, you don't need to install an SSL certificate, just load the SSL certificate in the code. For example, for CURL:

curl "https://www.google.com/search?q=pizza&json=1" --proxy scraping.thordata.com:30001 --proxy-user td-customer-serp_USERNAME:PASSWORD --cacert [path to CA.CRT]  

For other specific syntax, please refer to the code examples in the dashboard

2.In some cases, you need to install an SSL certificate on your computer. For example, when using some third-party tools that do not allow certificates to be loaded from the hard drive.

Installation Instructions:

①The SSL certificate needs to be installed on the host that actually runs the scraping code or application.

In most cases, it is your PC, but if you use a cloud hosting server to run the code, you need to install an SSL certificate on the server.

②Installation operation

windows · Double-click the "rootCA" file · Follow the Windows instructions to install the certificate · Restart the computer after the installation is complete · After the restart is successful, you will be able to connect to the search engine scraper API normally

Chrome · Open the browser and click the browser's settings function · Select "Privacy and Security" and click "Security" · Scroll down the page and find "Manage Certificates" and click · Click "Manage Certificates Imported from Windows" on the new page · Select "Trusted Root Certification Authorities" in the pop-up window, and then click the "Import" button · Click "Next" · Click "Browse...", select the certificate you just downloaded, and then click "Next" · Select "Put all certificates in the following store", and then click "Next" · Make sure the selected certificate is saved in "Trusted Root Certification Authorities", and then click "Finish" · Finally, click "OK"

Firefox · Open the browser and click the browser's settings function · Select "Privacy and Security", scroll down the page and find "Security", and click "View Certificate" · Select "Authorization" in the pop-up window that pops up, and then click "Import..." · After selecting the certificate you just downloaded, select the checkbox "Trust this CA to identify the website" in the pop-up window, and finally click "OK"

Linux · Copy the downloaded certificate file "" to the /usr/local/share/ca-certificates/ folder · Run sudo update-ca-certificates. The output of the command should indicate that 1 certificate has been added · Visit the SSL-protected website to check if everything is working properly

macOS · Double-click the downloaded certificate file. You will see the "Keychain Access" application · Double-click the "rootCA" certificate to see a pop-up window with certificate settings · Select "Always Trust" in the "When using this certificate" drop-down menu · Close the pop-up window and enter your credentials when asked. · Restart the browser and go to the SSL-protected website to check if everything is working as expected

三.How to ignore SSL errors

In some cases, you can ignore SSL errors if you don't want to follow our certificates. Please refer to the different code examples below:

curl -k "https://www.google.com/search?q=pizza&json=1" --proxy scraping.thordata.com:30001 --proxy-user td-customer-serp_USERNAME:PASSWORD

If you need further assistance, please contact us at [email protected].

Last updated

Was this helpful?