- Tls (common.tls) Configuration
Configuration options
| key | type | default value | description |
|---|---|---|---|
cipher-suite | string[] | Enabled cipher suites for TLS communication. | |
client-auth | TlsClientAuth (REQUIRED, OPTIONAL, NONE) | TlsClientAuth.NONE | Configure requirement for mutual TLS. Allowed values:
|
enabled | boolean | true | Flag indicating whether Tls is enabled. |
endpoint-identification-algorithm | string | HTTPS | Identification algorithm for SSL endpoints. |
internal-keystore-provider | string | Provider of the key stores used internally to create a key and trust manager factories. | |
internal-keystore-type | string | Type of the key stores used internally to create a key and trust manager factories. | |
key-manager-factory-algorithm | string | Algorithm of the key manager factory used when private key is defined. Defaults to javax.net.ssl.KeyManagerFactory.getDefaultAlgorithm(). | |
manager | io.helidon.common.tls.TlsManager (service provider interface) | The Tls manager. If one is not explicitly defined in the config then a default manager will be created. See ConfiguredTlsManager | |
private-key | PrivateKey | Private key to use. For server side TLS, this is required. For client side TLS, this is optional (used when mutual TLS is enabled). | |
protocol | string | TLS | Configure the protocol used to obtain an instance of javax.net.ssl.SSLContext. |
protocols | string[] | Enabled protocols for TLS communication. Example of valid values for | |
provider | string | Use explicit provider to obtain an instance of javax.net.ssl.SSLContext. | |
revocation | Certificate revocation check configuration. | ||
secure-random-algorithm | string | Algorithm to use when creating a new secure random. | |
secure-random-provider | string | Provider to use when creating a new secure random. When defined, secureRandomAlgorithm() must be defined as well. | |
session-cache-size | int | 20480 | SSL session cache size. |
session-timeout | Duration | PT24H | SSL session timeout. |
trust | X509Certificate[] | List of certificates that form the trust manager. | |
trust-all | boolean | false | Trust any certificate provided by the other side of communication. This is a dangerous setting: if set to |
trust-manager-factory-algorithm | string | Trust manager factory algorithm. |