Skip to main content

Disable SSL Pinning (iOS only)

Secure Socket Layering helps to protect communications from nefarious third parties.

Software engineers may need to disable SSL pinning for certain applications such as development and testing. For a more in-depth explanation, please refer to this article about certificates and public key pinning.

Use the Corellium API to control SSL pinning on your virtual devices.

To disable SSL pinning, use the disableSSLPinning() method.

await agent.disableSSLPinning();

To re-enable SSL pinning afterward, use the enableSSLPinning() method.

await agent.enableSSLPinning();

Alternatively, you can use the isSSLPinningEnabled() method which returns a boolean to check the current state.

await agent.isSSLPinningEnabled();