Join Slack
Powered by
Is there anyway to restrict Ktor Server http and/o...
# ktor
q
Quap
03/31/2023, 10:13 AM
Is there anyway to restrict Ktor Server http and/or websocket to TLS only? I know I can catch cases in the block and shut things down that way, but is there any way to configure the server to actually refuse to connect to insecure attempts?
a
Aleksei Tirman [JB]
03/31/2023, 1:05 PM
Yes, you can configure only SSL connector (port)
https://ktor.io/docs/ssl.html#configure-ssl-ktor
.
q
Quap
04/03/2023, 5:35 AM
👍
7
Views
Open in Slack
Previous
Next