Hey folks
I recently had to tackle implementing iOS certificate pinning, which seems to be something that has been mentioned on here a few times. Here is a blog post I just published detailing my solution. Feel free to use it to help you work out your solution. Hope it helps someone.
https://medium.com/@alistairsykes/kotlin-multiplatform-ios-certificate-pinning-fd1abba5ca8f
Ktor folks, is this something worth trying to work into a PR? Or would this be too opinionated for the framework?