SSL with Kotlin and Ktor

By Alexey Soshin

So, you develop some of your services with Kotlin and Ktor. Normally, your Ktor services will sit safely behind a reverse proxy, that will handle all the basic security concerns, including SSL, for you. And in your test environment, you would be running without SSL at all, simply bypassing all security. That’s usually the case. But in my case, I had a particular HTTP client that I needed to test, that would only support HTTPS.