---
title: Accepting Insecure Certificates with Selenium
description: How to deal with insecure certificates and Selenium WebDriver.
source_url:
  html: https://testingbot.com/support/web-automate/selenium/insecure-certificates
  md: https://testingbot.com/support/web-automate/selenium/insecure-certificates/index.md
---
# Accepting Insecure Certificates

You might want to test a website that does not (yet) have a valid SSL certificate (either it's expired, self-signed, or other).

We recommend using our [TestingBot Tunnel](https://testingbot.com/support/tunnel) for this. The Tunnel will automatically convert the invalid certificate to a certificate that all TestingBot VMs and Devices trust. You can also use the W3C `acceptInsecureCerts` capability (set it to `true` on your browser options), but it does not work as reliably as the TestingBot Tunnel approach.

### Looking for more help?

Have questions or need more information? Reach out via email or Slack.

[Email us](https://testingbot.com/contact/new)[Slack Join our Slack](https://join.slack.com/t/testingb0t/shared_invite/zt-3bcw9xch-jk19~6XPs_xBrsAgAedkCw)
