My Oracle Support Banner

OPSS - MigrateSecurityStore Throws Failed To Perform Cryptographic Operation (Doc ID 2126838.1)

Last updated on MARCH 01, 2023

Applies to:

Oracle Platform Security for Java - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

Attempting to transfer OPSS content from source to target using migrateSecurityStore, getting Failed to perform cryptographic operation error:

wls:/offline> migrateSecurityStore(type="credStore", configFile="..\jps-config.xml",src="souce",dst="destination");
Jan 21, 2016 8:50:05 AM oracle.security.jps.internal.tools.utility.JpsUtilMigrationCredImpl migrateCredentialData
INFO: Migration of Credential Store data in progress.....

COMMAND FAILED due to an unknown reason, Check the stack trace for details
Traceback (innermost last):
  File "", line 1, in ?
  File "D:\<MW_HOME>\ORACLE~1\common\wlst\jpsWlstCmd.py", line 1344, in migrateSecurityStore
  File "D:\<MW_HOME>\ORACLE~1\common\wlst\jpsWlstCmd.py", line 1309, in migrateSecurityStoreImpl

java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: oracle.security.jps.service.keystore.KeyStoreServiceException: Failed to perform cryptographic operation
wls:/offline>

 Note that, this command output is from Windows platform.

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


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