aboutsummaryrefslogtreecommitdiffstats
path: root/jdisc_http_service/src/main/java/com/yahoo
diff options
context:
space:
mode:
authorBjørn Christian Seime <bjorncs@verizonmedia.com>2021-02-19 15:08:35 +0100
committerBjørn Christian Seime <bjorncs@verizonmedia.com>2021-02-19 15:08:35 +0100
commit8425fd79d38f593f4a54cf341fdf2938ac8b4f35 (patch)
tree5806ddab2c5411ca74a32929828f7f3df9ba1084 /jdisc_http_service/src/main/java/com/yahoo
parentf124b885f64530ff3167512b12fb3ffc98818415 (diff)
Handle alternative error message for incompatible TLS protocol version
Diffstat (limited to 'jdisc_http_service/src/main/java/com/yahoo')
-rw-r--r--jdisc_http_service/src/main/java/com/yahoo/jdisc/http/server/jetty/SslHandshakeFailure.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/server/jetty/SslHandshakeFailure.java b/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/server/jetty/SslHandshakeFailure.java
index 64f70564137..57b41661cb1 100644
--- a/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/server/jetty/SslHandshakeFailure.java
+++ b/jdisc_http_service/src/main/java/com/yahoo/jdisc/http/server/jetty/SslHandshakeFailure.java
@@ -16,7 +16,8 @@ enum SslHandshakeFailure {
MetricDefinitions.SSL_HANDSHAKE_FAILURE_INCOMPATIBLE_PROTOCOLS,
"INCOMPATIBLE_CLIENT_PROTOCOLS",
"(Client requested protocol \\S+? is not enabled or supported in server context" +
- "|The client supported protocol versions \\[.+?\\] are not accepted by server preferences \\[.+?\\])"),
+ "|The client supported protocol versions \\[.+?\\] are not accepted by server preferences \\[.+?\\]" +
+ "|No appropriate protocol \\(protocol is disabled or cipher suites are inappropriate\\))"),
INCOMPATIBLE_CIPHERS(
MetricDefinitions.SSL_HANDSHAKE_FAILURE_INCOMPATIBLE_CIPHERS,
"INCOMPATIBLE_CLIENT_CIPHER_SUITES",