TrustKit
Easy SSL pinning validation and reporting for iOS, macOS, tvOS
...Simple API to configure an SSL pinning policy and enforce it within an App. The policy settings are heavily based on the HTTP Public Key Pinning specification. Sane implementation by pinning the certificate's Subject Public Key Info, as opposed to the certificate itself or the public key bits. Reporting mechanism to notify a server about pinning validation failures happening within the App, when an unexpected certificate chain is detected. This is similar to the report-uri directive described in the HPKP specification. The reporting mechanism can also be customized within the App by leveraging pin validation notifications sent by TrustKit.