My Oracle Support Banner

Converting Wallets Using orapki Option "jks_to_pkcs12" Fails with: Exception : java.io.IOException: Unrecognized algorithm identifier. (Doc ID 2113952.1)

Last updated on MAY 02, 2018

Applies to:

Oracle Internet Directory - Version 11.1.1 and later
Oracle Fusion Middleware - Version 11.1.1.0.0 and later
Information in this document applies to any platform.

Symptoms

Identity Management (IDM) with Oracle Internet Directory (OID) 11g Suite 11.1.1.7.3 and Directory Integration Platform (DIP).

Using orapki utility to manage Oracle wallets, in this case to convert wallets using the jks_to_pkcs12 option / feature of orapki.

The Oracle Wallet is in a shared location, so the output is from same environment with same wallet.

Getting Unknown algorithm error when using orapki to create or view contents of wallets with 11.1.1.7.3:

$ pwd
/oracle_nfs/setup/certificate_files/ds7
$ orapki wallet jks_to_pkcs12 -wallet /oracle_nfs/setup/certificate_files/ds7/test9_wallet -pwd Welcome1 -keystore /oracle_nfs/setup/certificate_files/ds7/identity_ssnet_test.jks -jkspwd Welcome1
Oracle PKI Tool : Version 11.1.1.7.0
Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.

Exception : java.io.IOException: Unrecognized algorithm identifier.
$ orapki wallet display -wallet /oracle_nfs/setup/certificate_files/ds7/test9_wallet -pwd Welcome1
Oracle PKI Tool : Version 11.1.1.7.0
Copyright (c) 2004, 2013, Oracle and/or its affiliates. All rights reserved.

Unrecognized algorithm identifier.
$


The same command works fine in newer IDM version 11.1.1.9.0:

$ orapki wallet jks_to_pkcs12 -wallet /oracle_nfs/setup/certificate_files/ds7/test9_wallet -pwd Welcome1 -keystore /oracle_nfs/setup/certificate_files/ds7/identity_ssnet_test.jks -jkspwd Welcome1
Oracle PKI Tool : Version 11.1.1.9.0
Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.

$ orapki wallet display -wallet /oracle_nfs/setup/certificate_files/ds7/test9_wallet -pwd Welcome1
Oracle PKI Tool : Version 11.1.1.9.0
Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.

Requested Certificates:
User Certificates:
Subject: CN=myhost1.mycompany.com,OU=myou,O=myorg,L=myst,ST=ST,C=US
Subject: CN=myhost2.mycompany.com,OU=myou,O=myorg,L=myst,ST=ST,C=US
Subject: CN=myhost3.mycompany.com,OU=myou,O=myorg,L=myst,ST=ST,C=US
Subject: CN=myhost4.mycompany.com,OU=myou,O=myorg,L=myst,ST=ST,C=US
Trusted Certificates:
Subject: CN=10PROD01.myou.mycompany.com
Subject: CN=10PROD02.myou.mycompany.com
Subject: CN=MYOU-2,DC=mydc,DC=mycompany,DC=GOV

 

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
References


This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review.
My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.