Interface TlsConfig


public interface TlsConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether SSL/TLS is enabled.
    The hostname verification algorithm to use in case the server's identity should be checked.
    io.quarkus.vertx.core.runtime.config.JksConfiguration
    Key/cert configuration in the JKS format.
    io.quarkus.vertx.core.runtime.config.PemKeyCertConfiguration
    Key/cert configuration in the PEM format.
    io.quarkus.vertx.core.runtime.config.PfxConfiguration
    Key/cert configuration in the PFX format.
    boolean
    Enable trusting all certificates.
    io.quarkus.vertx.core.runtime.config.JksConfiguration
    Trust configuration in the JKS format.
    io.quarkus.vertx.core.runtime.config.PemTrustCertConfiguration
    Trust configuration in the PEM format.
    io.quarkus.vertx.core.runtime.config.PfxConfiguration
    Trust configuration in the PFX format.
  • 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

      io.quarkus.vertx.core.runtime.config.PemTrustCertConfiguration trustCertificatePem()
      Trust configuration in the PEM format.

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

    • trustCertificateJks

      io.quarkus.vertx.core.runtime.config.JksConfiguration trustCertificateJks()
      Trust configuration in the JKS format.

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

    • trustCertificatePfx

      io.quarkus.vertx.core.runtime.config.PfxConfiguration trustCertificatePfx()
      Trust configuration in the PFX format.

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

    • keyCertificatePem

      io.quarkus.vertx.core.runtime.config.PemKeyCertConfiguration keyCertificatePem()
      Key/cert configuration in the PEM format.

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

    • keyCertificateJks

      io.quarkus.vertx.core.runtime.config.JksConfiguration keyCertificateJks()
      Key/cert configuration in the JKS format.

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

    • keyCertificatePfx

      io.quarkus.vertx.core.runtime.config.PfxConfiguration keyCertificatePfx()
      Key/cert configuration in the PFX format.

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

    • hostnameVerificationAlgorithm

      @WithDefault("NONE") String hostnameVerificationAlgorithm()
      The hostname verification algorithm to use in case the server's identity should be checked. Should be HTTPS, LDAPS or NONE (default).

      If set to NONE, it does not verify the hostname.