https://kotlinlang.org logo
#multiplatform
Title
# multiplatform
s

Sergio Casero

01/26/2023, 7:41 AM
Hi folks, We have a large kmm app with ktor, but we should implement MTLS protocol, I can't find any info related to ktor client multiplatform, I've found this: https://ktor.io/docs/client-ssl.html, but... nothing related to iOS found, any help?
I think I can handle it with...
CIO
client
h

Hylke Bron

01/26/2023, 12:17 PM
Can you let me know how you do mTLS with a CIO client on both iOS and Android? I have a usecase for that as well. At the moment our KMM project (library) delegates networking (and so also mTLS) via an interface to the host apps using the library, and we implemented networking including mTLS using URLSessions on iOS and using OkHttp on Android.
s

Sergio Casero

01/26/2023, 1:19 PM
I've found how to achieve it on Android with ktor and kmm, but now it's time for iOS... I'll ping you
h

Hylke Bron

01/26/2023, 1:32 PM
Thanks! I hope you get it working 🙂
s

Sergio Casero

01/26/2023, 1:33 PM
For sure, because else... I'll get fired 😛 hahahah
Fire or glory, you know haha
h

Hylke Bron

01/26/2023, 1:33 PM
No guts no glory yeah 😄 Good luck on keeping your job
s

Sergio Casero

01/26/2023, 2:50 PM
Got it!!!! weeeeeeeeeee 🙂
h

Hylke Bron

01/26/2023, 3:17 PM
got some documentation of what you had used for it? Im very curious about it 😄
6 Views