immutant.web.ssl

A few SSL-related utilities, typically invoked via immutant.web.undertow/options

keystore->key-managers

(keystore->key-managers keystore password)

Return a KeyManager[] given a KeyStore and password

keystore->ssl-context

(keystore->ssl-context {:keys [keystore key-password truststore trust-password]})

Turn a keystore and optional truststore, which may be either strings denoting file paths or actual KeyStore instances, into an SSLContext instance

truststore->trust-managers

(truststore->trust-managers truststore)

Return a TrustManager[] for a KeyStore