dasniko / testcontainers-keycloak

A Testcontainer implementation for Keycloak IAM & SSO.
Apache License 2.0
327 stars 50 forks source link

new truststore config #144

Closed dasniko closed 1 month ago

dasniko commented 1 month ago

resolves #134

Deprecating the method .useMutualTls(String tlsTruststoreFilename, String tlsTruststorePassword, HttpsClientAuth httpsClientAuth) and adding new methods to configure the truststore

.withTrustedCertificates(List<String> tlsTrustedCertificateFilenames)

and a separate method to configure mTLS independently

.withHttpsClientAuth(HttpsClientAuth httpsClientAuth)

Once the https-trust-store-* config options are being removed from Keycloak, also the deprecated method will be removed from this testcontainer.