OpenJDK 17 fails to verify jars with 'SHA-256 MessageDigest not available' in FIPS Mode
Issue
Using RHEL OpenJDK 17 and FIPS mode enabled, encountering failure when attempting to use jarsigner to verify a signed jar:
Error message: 'jar: processEntry caught: java.security.NoSuchAlgorithmException: SHA-256 MessageDigest not available'
Environment
- Red Hat Enterprise Linux (RHEL) 9
- Red Hat build of OpenJDK 17
- FIPS
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.