ktor-network-tls-certificates / io.ktor.network.tls.certificates / KeyStoreBuilder / certificate

certificate

fun certificate(alias: String, block: CertificateBuilder.() -> Unit): Unit

Generate a certificate and append to the key store. If there is a certificate with the same alias then it will be replaced