Join Slack
Powered by
is it possible to ignore SSL certificate error whe...
# ktor
s
Steve Young
10/03/2019, 1:53 PM
is it possible to ignore SSL certificate error when using the Ktor IOS httpClient?
e
e5l
10/03/2019, 1:55 PM
Yes, you can use
https://github.com/ktorio/ktor/blob/62e9fd32a15f50e13c736302c6bc01bb3e8ff1d1/ktor-client/ktor-client-ios/darwin/src/io/ktor/client/engine/ios/IosClientEngineConfig.kt#L17
and set
setAllowsAnyHTTPSCertificate
s
Steve Young
10/09/2019, 1:40 PM
setAllowsAnyHTTPSCertificate doesn’t seem to work
195
Views
Open in Slack
Previous
Next