I'm trying to configure SSL pinning in my app with TrustKit but I'm getting this error:
Terminating app due to uncaught exception 'TrustKit configuration invalid', reason: 'TrustKit was initialized with an invalid value for TSKPublicKeyAlgorithms for domain xxx.com'
The server is using SHA256withRSA
as a signature algorithm. On the documentation page of the TrustKit there's only kTSKAlgorithmRsa2048
and kTSKAlgorithmRsa4096
(I tried both of them).
Is it possible to use TrustKit and SHA256withRSA?