diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-02-13 17:12:04 +0100 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2020-02-13 17:28:34 +0100 |
commit | 8794ed9299710b661332adcadacbdeb4c388ed5a (patch) | |
tree | 61b0dea06772795fccf84a76bafff53b9234e9fd /security-utils/src/test/java/com/yahoo/security/tls/TransportSecurityOptionsTest.java | |
parent | 762abbd7f48f3afe8257faf581c7defce160ad4f (diff) |
Introduce 'disable-hostname-validation' to TLS json format
Diffstat (limited to 'security-utils/src/test/java/com/yahoo/security/tls/TransportSecurityOptionsTest.java')
-rw-r--r-- | security-utils/src/test/java/com/yahoo/security/tls/TransportSecurityOptionsTest.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/security-utils/src/test/java/com/yahoo/security/tls/TransportSecurityOptionsTest.java b/security-utils/src/test/java/com/yahoo/security/tls/TransportSecurityOptionsTest.java index 28dc10d31d5..f2d2b932cd0 100644 --- a/security-utils/src/test/java/com/yahoo/security/tls/TransportSecurityOptionsTest.java +++ b/security-utils/src/test/java/com/yahoo/security/tls/TransportSecurityOptionsTest.java @@ -21,6 +21,7 @@ public class TransportSecurityOptionsTest { .withCertificates(Paths.get("certs.pem"), Paths.get("myhost.key")) .withCaCertificates(Paths.get("my_cas.pem")) .withAcceptedCiphers(com.yahoo.vespa.jdk8compat.List.of("TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" , "TLS_AES_256_GCM_SHA384")) + .withHostnameValidationDisabled(true) .build(); @Test |