Is it possible to implement SSL cert pinning using...
# kotlin-native
c
Is it possible to implement SSL cert pinning using ktor on an iOS project?
j
Yes, If you create your own client and implement the necessary delegate methods You can just copy the existing iOS client and make adjustments. Better place for that question would be #ktor
👍 1
j
I think with auto-pinning you just need to init Trustkit in your app: https://github.com/datatheorem/TrustKit/blob/master/README.md “Auto-pinning functionality by swizzling the App's NSURLConnection and NSURLSession delegates in order to automatically add pinning validation to the App's HTTPS connections; this allows deploying TrustKit without even modifying the App's source code.”
ℹ️ 1