https://bz.apache.org/bugzilla/show_bug.cgi?id=69607

--- Comment #8 from sve...@redseal.net ---
We have a getWebSocketUpdate() method in
org.apache.tomcat.websocket.server.UpgradeUtil class which causes the issue.

private static String getWebSocketAccept(String key) {
        byte[] digest =
ConcurrentMessageDigest.digestSHA1(key.getBytes(StandardCharsets.ISO_8859_1),
WS_ACCEPT);
        return Base64.getEncoder().encodeToString(digest);
    }


Here we are calling digestSHA1 but because of static block in
ConcurrentMessageDigest class we are getting the error as:


java.lang.ExceptionInInitializerError: Exception
java.lang.IllegalArgumentException: Digest algorithm unavailable [in thread
"https-jsse-nio2-8443-exec-7"]


java.lang.SecurityException: Algorithm not allowable in FIPS140 mode: MD5

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to