certificate

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

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