Failed To Read the Keystores from .p12 Keystore Files and Got the Error "java.security.NoSuchAlgorithmException: Error constructing implementation" (Doc ID 886822.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Web Services Manager - Version 10.1.3.4.0 and later
Information in this document applies to any platform.

Symptoms

This can occur in any version of OWSM 10g

When attempting to call a web service secured by an Oracle Web Service Manager custom step using a JDeveloper client which signs and encrypts using keys stored in a .p12 file, the following error occurs:


ERROR

SEVERE [AJPRequestHandler-RMICallHandler-7] wssecurity.SecurityBaseStep -
Failed to read keystore file: java.io.IOException: error constructing MAC:
java.security.NoSuchAlgorithmException: Error constructing implementation (algorithm:
PBEWITHHMACSHA, provider: BC, class: org.bouncycastle.jce.provider.JCEMac$PBEWithSHA)



Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms