My Oracle Support Banner

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 AUGUST 14, 2019

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 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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.