addKeyStore

@JvmName(name = "addKeyStoreNullablePassword")
fun TLSConfigBuilder.addKeyStore(store: KeyStore, password: CharArray?, alias: String? = null)(source)

Add client certificates from store by using the certificate with specific alias or all certificates, if alias is null.

Note: ECDSA certificates are currently not supported for client authentication (only RSA and DSA are supported). See KTOR-5391.

Report a problem