KeystoreBuilder (common.pki.KeyConfig) Configuration

Type: io.helidon.common.pki.KeyConfig.KeystoreBuilder

Configuration options

Required configuration options
keytypedefault valuedescription
resource 

Keystore resource definition.

Optional configuration options
keytypedefault valuedescription
cert-chain.alias

string

 

Alias of an X.509 chain.

cert.alias

string

 

Alias of X.509 certificate of public key. Used to load both the certificate and public key.

key.alias

string

1

Alias of the private key in the keystore.

key.passphrase

string

 

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.

passphrase

string

 

Pass-phrase of the keystore (supported with JKS and PKCS12 keystores).

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 updated builder instance
type

string

PKCS12

Set type of keystore. Defaults to "PKCS12", expected are other keystore types supported by java then can store keys under aliases.