I was going through the app package from
https://www.npmjs.com/package/react-native-ssl-pinning
For both of the app, the method are : Public Key Pinning
For Android, I've no issue to create two public key for two different domain I've to handshake.
This is my question,
For IOS react-native, can i include two .cer for public key pinning?
Based on their documentation for IOS:
(skip this if you are using certificate pinning) no extra step needed for public key pinning, AFNetworking will extract the public key from the certificate.
So there is no extra step needed for public key, for IOS the AFNetworking will extract the public key from the certificate , .cer.
If I require to implement two .cer?
Take a look at this guide (IOS part in your case). You can easily and quickly set up multiple public key pinnings, the relevant code in AppDelegate.m would look like this: