OPSS - Unable To Generate Keypair, getting JPS-06518: Keystore mftDefaultStore in stripe mft does not exist (Doc ID 2017425.1)

Last updated on JUNE 18, 2015

Applies to:

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

Symptoms

Unable generate a keypair for a keystore using the generateKeyPair script

wls:/offline> connect()
Please enter your username :weblogic
weblogic
Please enter your password :
Please enter your server URL [t3://localhost:7001] :t3://host1:14002
t3://host1:14002
Connecting to t3://host1:14002 with userid weblogic ...
Successfully connected to Admin Server "mft_AdminServer" that belongs to domain "mft_domain".

Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead.

wls:/mft_domain/serverConfig> svc = getOpssService(name='KeyStoreService')
wls:/mft_domain/serverConfig> svc.generateKeyPair(appStripe='mft', name='mftDefaultStore', password='password', dn='cn=domain_name.com', keysize='1024',alias='mftftpssl', keypassword='password')
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help('domainRuntime')

Command FAILED, Reason: JPS-06518: Keystore mftDefaultStore in stripe mft does not exist.

Traceback (innermost last):
 File "<console>", line 1, in ?
 File "/u01/Oracle/Middleware2/oracle_common/common/wlst/jpsWlstCmd.py", line 1772, in generateKeyPair
 File "/u01/Oracle/Middleware2/oracle_common/common/wlst/jpsWlstCmd.py", line 1756, in generateKeyPairImpl
javax.management.MBeanException: JPS-06518: Keystore mftDefaultStore in stripe mft does not exist.
       at weblogic.utils.StackTraceDisabled.unknownMethod()
Caused by: oracle.as.jmx.framework.exceptions.ManagementException: JPS-06518: Keystore mftDefaultStore in stripe mft does not exist.
       ... 1 more

javax.management.MBeanException: javax.management.MBeanException: JPS-06518: Keystore mftDefaultStore in stripe mft does not exist.
wls:/mft_domain/serverConfig>

  

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