OPSS - MigrateSecurityStore Throws Failed To Perform Cryptographic Operation

(Doc ID 2126838.1)

Last updated on MAY 08, 2018

Applies to:

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


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.....
INFO: Found persistence provider "org.eclipse.persistence.jpa.PersistenceProvider". OpenJPA will not be used.
COMMAND FAILED due to an unknown reason, Check the stack trace for details
Traceback (innermost last):
  File "", line 1, in ?
  File "D:\app\Oracle\MIDDLE~2\ORACLE~1\common\wlst\jpsWlstCmd.py", line 1344, in migrateSecurityStore
  File "D:\app\Oracle\MIDDLE~2\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

 Note that, this command output is from Windows platform.


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