Interface TlsConfig


public interface TlsConfig
  • Method Details

    • enabled

      @WithDefault("false") boolean enabled()
      Whether SSL/TLS is enabled.
    • trustAll

      @WithDefault("false") boolean trustAll()
      Enable trusting all certificates. Disabled by default.
    • trustCertificatePem

      PemTrustCertConfiguration trustCertificatePem()
      Trust configuration in the PEM format.

      When enabled, #trust-certificate-jks and #trust-certificate-pfx must be disabled.

    • trustCertificateJks

      JksConfiguration trustCertificateJks()
      Trust configuration in the JKS format.

      When enabled, #trust-certificate-pem and #trust-certificate-pfx must be disabled.

    • trustCertificatePfx

      PfxConfiguration trustCertificatePfx()
      Trust configuration in the PFX format.

      When enabled, #trust-certificate-jks and #trust-certificate-pem must be disabled.

    • keyCertificatePem

      PemKeyCertConfiguration keyCertificatePem()
      Key/cert configuration in the PEM format.

      When enabled, key-certificate-jks and #key-certificate-pfx must be disabled.

    • keyCertificateJks

      JksConfiguration keyCertificateJks()
      Key/cert configuration in the JKS format.

      When enabled, #key-certificate-pem and #key-certificate-pfx must be disabled.

    • keyCertificatePfx

      PfxConfiguration keyCertificatePfx()
      Key/cert configuration in the PFX format.

      When enabled, key-certificate-jks and #key-certificate-pem must be disabled.

    • hostnameVerificationAlgorithm

      Optional<String> hostnameVerificationAlgorithm()
      The hostname verification algorithm to use in case the server's identity should be checked. Should be HTTPS, LDAPS or an empty string.