[SSL Pinning] NSPinnedDomains is not working on my testing

Hi,

Just follow the related post to implement this method in the app, but it gave me error, like: "An SSL error has occurred and a secure connection to the server cannot be made"

the info plist configuration like below, <key>NSPinnedDomains</key> <dict> <key>mysite.com</key> <dict> <key>NSIncludesSubdomains</key> <true/> <key>NSPinnedCAIdentities</key> <array> <dict> <key>SPKI-SHA256-BASE64</key> <string>r/mIkG3eEpVdm+u/ko/cwxzOMo1bk4TyHIlByibiA5E=</string> </dict> </array> </dict> </dict>

The pub key is right for me, since it works when I use different pub key pinning through URLSession interface.

So here, I dont know where to start the troubleshooting, any advice would be appreciated.

[SSL Pinning] NSPinnedDomains is not working on my testing
 
 
Q