👋 I am curious if anyone has had any luck implementing MutualTLS in Ktor. I followed these steps
<https://ktor.io/docs/ssl.html>
and my server is returning certificates as expected but its not requiring that the client pass in certificates. I am assuming I can implement a custom authentication configuration but I am just unsure of how to access the client certificate.
a
Aleksei Tirman [JB]
02/09/2024, 7:21 AM
Here is an issue about the mutual TLS support https://youtrack.jetbrains.com/issue/KTOR-3357. As I can see from the code, if the trust store is configured, the client authentication will be enabled automatically.