https://kotlinlang.org logo
#ktor
Title
# ktor
a

Austin Pederson

06/22/2022, 9:46 PM
I am running up against an issue using Ktor 2.0.2 with SSL. I am trying to create a multiplatform application for iOS and Android but my API requests are causing a crash on Android (haven't checked iOS yet). This is being caused by an SSL issue. I followed the guide for setting up SSL on Android for the engine I am using, but my keystore is not being found. Are there any guides or examples out there for how to do SSL in KMM?
a

Aleksei Tirman [JB]

06/23/2022, 11:54 AM
There is a sample project showing how to configure SSL for different client engines.
a

Austin Pederson

06/23/2022, 5:21 PM
Yeah this actually turned out to be more of an issue with my network proxy I was using to spy requests not being configured properly on the branch I was using. Thanks for the response, but my issue has been resolved. Too bad I couldn't have figured that out before posting 😂
2 Views