Skip to main content
🚀 Self Healing AI Agent now live in App Automate! Auto-fix flaky tests instantly with zero code changes. Enable now!
No Result Found
Get your setup working faster. Join our Discord for optimisation tips from elite testers. Join our DiscordJoin our Discord

Accept insecure certificates for Appium tests

Avoid invalid certificate errors in your Appium tests when using a self-signed certificate to test your app on BrowserStack App Automate. Test your apps on a real device cloud.

Use the accept insecure certificates capability to avoid invalid certificate errors when using a self-signed certificate to test your app. For related guidance, see network and connection issues:

If you are using BrowserStack SDK, you can set the following capability within the browserstack.yml file:

Capability Description Expected values
acceptInsecureCerts Avoid invalid certificate errors while your test is running true/false Default: false
browserstack.yml
Copy icon Copy

This feature is supported on all devices except the devices listed in the App Automate capabilities reference under the Capabilities Reference section.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback

Is this page helping you?

Yes
No

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked





Thank you for your valuable feedback!

Talk to an Expert
Download Copy Check Circle