Get your setup working faster. Join our Discord for optimisation tips from elite testers.Join 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:
BrowserStack SDK is a plug-n-play solution that takes care of all the integration steps for you. Using the BrowserStack SDK is the recommended integration method for your project. To know more, visit the SDK core concepts page.
Use the following code snippet to accept insecure certificates:
This feature is supported on all devices except the devices listed in the App Automate capabilities reference under the Capabilities Reference section.
Did this page help you?
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