Skip to content

Instantly share code, notes, and snippets.

Avatar

HoffiMuc HoffiMuc

  • Germany, Munich
View GitHub Profile
View KotlinKtorTls.kt
package minimal_ktor_tls
import com.hoffi.minimal_ktor_tls.plugins.configureHTTP
import com.hoffi.minimal_ktor_tls.plugins.configureRouting
import com.hoffi.minimal_ktor_tls.plugins.configureSerialization
import io.ktor.server.engine.*
import io.ktor.server.jetty.*
import nl.altindag.ssl.SSLFactory
import nl.altindag.ssl.exception.CertificateParseException
import nl.altindag.ssl.exception.GenericIOException