Certificate Configuration

To use Proxy Saver with HTTPS and SSL connections you need to configure your proxy tool to trust the Scrapfly Proxy Saver TLS certificate or ignore certificate verification process. Here's how to do it with popular proxy tools:

Download the Certificate

To start you can find the .crt certificate file in the Proxy Saver dashboard under each proxy profile. This scrapfly-ca.crt file contains the public key of the Scrapfly Proxy Saver certificate. The certificate file can be used to configure tools to trust HTTPS connections certified by Proxy Saver.

HTTP Tools

Each CLI tool like curl has a custom certificate option using which we can specify the location of the Proxy Saver scrapfly-ca.cert certificate file:

Alternatively, each tool also provides an ability to ignore certificate verification process which means the certificate step can be ignored entirely though it's not recommended due to security risks.

Operating Systems

The certificate can also be installed in the operating system certificate store to make it available for all applications.

  1. Download the certificate file from the Proxy Saver dashboard

  2. Double click the .crt file
  3. Follow the Windows instructions to install the certificate
  4. Reboot your computer
  5. After rebooting, you will be able to connect to Proxy Saver
To verify whether the certificate was installed correctly use this windows command:
  1. Download the certificate file from the Proxy Saver dashboard
  2. Double click the .crt file
  3. Select "Always Trust" in the "When using this certificate" options dropdown.
  4. Reboot any active programs to be able to connect to Proxy Saver
To verify whether the certificate was installed correctly use this macos command:
  1. Download the certificate file from the Proxy Saver dashboard
  2. Copy the .crt file to /usr/local/share/ca-certificates/
  3. Run sudo update-ca-certificates
  4. Reboot any active programs to be able to connect to Proxy Saver
To verify whether the certificate was installed correctly use this linux command:

Web Browsers

Each web browser can also take custom certificates to trust HTTPS connections certified by Proxy Saver.

  1. Download the certificate file from the Proxy Saver dashboard
  2. Go to browser's certificate settings page chrome://settings/certificates
  3. Go to the Authority tab and select Import to upload your scrapfly-ca.crt file.

  4. When prompted for confirmation select all checkboxes and import

  1. Download the certificate file from the Proxy Saver dashboard
  2. Go to browser's certificate settings page about:preferences#advanced
  3. Go to the Privacy & Security tab and select View Certificates

  4. Upload your scrapfly-ca.crt file.

  5. When prompted for confirmation select all checkboxes and import

HTTP Client Libraries

Most http client libraries support proxies and can be configured to use custom certificates. Here are some examples for the most popular http client libraries:

Selenium

To use the certificate with Selenium you can use the desired_capabilities option to specify the certificate file location:

  1. Ensure you have the required Python packages installed:

  2. Download the certificate file from the Proxy Saver dashboard.
  3. Use the following Python code to load the custom certificate into Selenium’s browser session:

  4. Run the Python script to start Selenium with the custom certificate and verify the setup.

Playwright

To use the certificate with Playwright you can either disable certificate verification or load the custom certificate into the browser session:

  1. Ensure you have the required Python packages installed:

  2. Download the certificate file scrapfly-ca.crt from the Proxy Saver dashboard.
  3. Use the following Python code to load the custom certificate into Playwright’s browser session:

  1. Ensure you have the required NPM packages installed:

  2. Download the certificate file scrapfly-ca.crt from the Proxy Saver dashboard.
  3. Use the following Javascript code to load the custom certificate into Playwright’s browser session:

Puppeteer

To use the certificate with Puppeteer you can use the ignoreHTTPSErrors option to disable certificate verification:

  1. Ensure you have the required NPM packages installed:

  2. Use the following Javascript code to ignore certificate checks:

  3. Optional: as Puppeteer doesn't support custom certificates you can install system level certificate using operating system instructions.

Summary