Interface TrustStoreConfig


public interface TrustStoreConfig
  • Method Details

    • pem

      Configures the list of trusted certificates.
    • p12

      Configure the PKCS12 trust store.
    • jks

      Configure the JKS trust store.
    • other

      Configure a trust store with an arbitrary type. Use this for trust store types not directly supported (e.g., BCFKS).

      Note that when using this option, the trust store can either be created using a path/password fallback or use a specific TrustStoreFactory implementation. In the first case, the trust store will be created using the configured path and password.

    • certificateExpirationPolicy

      @WithDefault("WARN") TrustStoreConfig.CertificateExpiryPolicy certificateExpirationPolicy()
      Enforce certificate expiration. When enabled, the certificate expiration date is verified and the certificate (or any certificate in the chain) is rejected if it is expired.
    • credentialsProvider

      TrustStoreCredentialProviderConfig credentialsProvider()
      The credential provider configuration for the trust store. A credential provider offers a way to retrieve the trust store password. Note that the credential provider is only used if the password is not set in the configuration.
    • validate

      default void validate(io.quarkus.arc.InstanceHandle<io.quarkus.tls.TrustStoreProvider> provider, String name)