Skip to main content
Transform your testing process with: Real Device Features, Company-wide Licences, & Accessibility Testing
No Result Found
Connect & Get help from fellow developers on our Discord community. Ask the CommunityAsk the Community

Upload and install custom certificates

Upload and install custom certificates to test apps that use SSL pinning or self-signed certificates.

This feature is currently available only on request for Enterprise plan customers of App Live. If you’re an Enterprise customer and would like to enable this feature, contact the BrowserStack support team.

Many enterprise apps, particularly in banking, use SSL pinning to prevent Man-in-the-Middle (MITM) attacks. SSL pinning configures your app to accept only a specific, trusted security certificate from a server. Similarly, apps in development or staging environments often use self-signed certificates to securely exchange network traffic.

Using Certificate Injection on App Live, you can upload and install your app’s trusted certificates directly onto BrowserStack real devices. This enables you to test apps that use SSL pinning or self-signed certificates, and also use features like Network Logs.

Supported certificate formats

BrowserStack Certificate Injection supports the following certificate formats:

Certificate Format Supported Devices
.cer Android, iOS
.mobileconfig iOS

Use Cases

Certificate Injection is particularly useful for:

  • Use self-signed certificates for development and testing purposes.
  • Verifying app functionality in environments where SSL pinning is standard.
  • Debugging network issues in apps that integrate SSL pinning checks.

Upload certificates before a test session

You can upload a maximum of 20 certificates.

To upload certificates:

  1. Log in to the App Live dashboard.
  2. In the Select source section, click Session Configurations.
    The App Live dashboard with the Session Configurations option highlighted by a red box.
  3. In the Certificates tab, choose one of the following options:
    • If you are uploading certificates for the first time, click the Upload button (annotation 2) next to the Manage certificates option.
      The Certificates tab with the Upload button and the Manage certificates option annotated.
    • If you had uploaded certificates previously, the Upload button is available in the Manage certificates tab:
      1. Click Manage certificates (annotation 1).
      2. In the Manage certificates tab, click the Upload button.
        The Manage certificates tab with the Upload button highlighted by a red box.
  4. Select the certificate file from your local machine.
    The certificate is uploaded and listed in the Manage certificates section.
    The Manage certificates dialog showing a list of uploaded certificates.
  5. To start a new test session with the uploaded certificates, navigate back to the App Live dashboard and launch a new session. For detailed instructions, see Launch session from App Live dashboard.

Optional: To automatically install the uploaded certificates when you launch a test session, turn on the Install certificates on session launch toggle in the Certificates tab.
Alternatively, you can also choose to install certificates manually during the session.

The Certificates tab with the Manage certificates option highlighted by a red box.

Manage certificates during a test session

You can manage uploaded certificates during an active test session. This allows you to install, uninstall, or delete certificates as needed without interrupting your testing workflow. You can also upload new certificates during a session.

To manage certificates:

  1. Log in to the App Live dashboard.
  2. Start a new test session. For detailed instructions, see Launch session from App Live dashboard.
  3. In the vertical toolbar, click iOS Settings or Android Settings based on your test device.
    A BrowserStack test session with an Android device and the settings menu open.
  4. In the settings menu, click Certificates.
    The uploaded certificates are listed under the Uploaded Certificates section.
    The settings menu with the configuration prompt open with a list of uploaded certificates.
  5. Manage certificates based on your requirements.
    • Upload: In the Certificates prompt, click the Upload certificate button to upload a new certificate from your local machine.
    • Install: In the Uploaded certificates section, click the more menu (⋮) icon next to an uploaded certificate and select Install.
      To install all uploaded certificates at once, click the Install all button.
    • Uninstall: In the Uploaded certificates section, click the more menu (⋮) icon next to an installed certificate to uninstall it.
    • Delete: In the Uploaded certificates section, click the more menu (⋮) icon next to an uploaded certificate and select Delete.
      The Certificates prompt with options to upload, install, uninstall, and delete certificates.

Delete uploaded certificates from the dashboard

To delete uploaded certificates:

  1. Log in to the App Live dashboard.
  2. In the Select source section, click Session Configurations.
    The App Live dashboard with the Session Configurations option highlighted by a red box.
  3. In the Certificates tab, click Manage certificates.
    The Certificates tab with the Manage certificates option highlighted by a red box.
  4. In the Manage certificates dialog, click the delete (🗑️) icon next to the Uploaded certificates tab title and certificate count.
    The Manage certificates dialog with the delete icon highlighted by a red box with an arrow pointing to it.
  5. Select the certificates you want to delete and then click the Delete button.
    The Manage certificates dialog with a list of uploaded certificates and checkboxes to select them and the delete button highlighted by a red box.
    The selected certificates are removed from the list of uploaded certificates. The Manage certificates dialog a list of certificates.

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