- KeystoreKeys (common.pki) Configuration
Configuration options
Required configuration options
| key | type | default value | description |
|---|---|---|---|
resource | Keystore resource definition. @return keystore resource, from file path, classpath, URL etc. |
Optional configuration options
| key | type | default value | description |
|---|---|---|---|
cert-chain.alias | string | Alias of an X.509 chain. @return alias of certificate chain in the keystore | |
cert.alias | string | Alias of X.509 certificate of public key. Used to load both the certificate and public key. @return alias under which the certificate is stored in the keystore | |
key.alias | string | Alias of the private key in the keystore. @return alias of the key in the keystore | |
key.passphrase | char[] | Pass-phrase of the key in the keystore (used for private keys). This is (by default) the same as keystore passphrase - only configure if it differs from keystore passphrase. @return pass-phrase of the key | |
passphrase | char[] | Pass-phrase of the keystore (supported with JKS and PKCS12 keystores). @return keystore password to use | |
trust-store | boolean | false | If you want to build a trust store, call this method to add all certificates present in the keystore to certificate list. @return whether this is a trust store |
type | string | PKCS12 | Set type of keystore. Defaults to @return keystore type to load the key |