java.security.NoSuchAlgorithmException: SHA-256 MessageDigest not available
Originally Published: 2010-07-23
Article Number
Applies To
IBM JVM 1.5
Issue
0 [main] DEBUG com.custom.security.crypto.CryptoService - Pluggable provider is initiated.
44 [main] ERROR com.custom.security.crypto.SecureHashAlgorithmProvider - SHA-256 MessageDigest not available
java.security.NoSuchAlgorithmException: SHA-256 MessageDigest not available
at sun.security.jca.GetInstance.getInstance(GetInstance.java:158)
at java.security.Security.getImpl(Security.java:691)
at java.security.MessageDigest.getInstance(MessageDigest.java:146)
at com.custom.security.crypto.SecureHashAlgorithmProvider.<init>(SecureHashAlgorithmProvider.java:67)
at com.custom.security.crypto.CryptoProvider.digest(CryptoProvider.java:55)
at com.custom.security.crypto.CryptoService.digest(CryptoService.java:74)
at samples.CryptoSample.main(CryptoSample.java:26)
SHA message digest initiation failed
Resolution
Adding the following to the java command line typically solves this issue:
-Djava.ext.dirs=*/jdk/jre/lib/ext
Related Articles
How to reset DRAC service via command line from the envision server. 37Number of Views RSA announces the availability of a Self-Encrypting Hard Drive for the RSA SecurID Hardware Appliance 350 18Number of Views Configure the Telemetry Service 66Number of Views RSA SecurID Appliance 3.0 Model 250 - How to configure the DRAC 524Number of Views Checking service status of iptables in RSA Authentication Manager 8.4 returns 'Active: active (exited)'. 141Number of Views
Trending Articles
Downloading RSA Authentication Manager license files or RSA Software token seed records RSA MFA Agent 2.3.6 for Microsoft Windows Installation and Administration Guide Quick Setup Guide - Passwordless Authentication in Windows MFA Agent for Active Directory Mandatory Certificate Upgrade Required by 6th October 2025 for RSA MFA Agent for PAM, RSA MFA Agent for Apache, and Third … RSA Authentication Manager 8.9 Release Notes (January 2026)
Don't see what you're looking for?