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

Satyam Agarwal

01/24/2021, 7:30 PM
Hei. I am trying to use Ktor CIO client to make request to server that uses TLSv1.2 with
ECDHE-RSA-AES256-GCM-SHA384
as cipher suite. But I get http handshake failure, if I use Apache as engine it works. I thought this was fixed here : https://github.com/ktorio/ktor/issues/439 Can someone help me please ?
Looks like Ktor CIO Jvm only supports cipher suites with max key strength 128 even though the list contains 256 strength… https://github.com/ktorio/ktor/blob/master/ktor-network/ktor-network-tls/jvm/src/io/ktor/network/tls/CipherSuitesJvm.kt#L9-L12 cc: @e5l
Also proposed a solution : https://github.com/ktorio/ktor/pull/2319
4 Views