OPSS - Unable To Generate Keypair, getting JPS-06518: Keystore mftDefaultStore in stripe mft does not exist
(Doc ID 2017425.1)
Last updated on MARCH 01, 2023
Applies to:
Oracle Platform Security for Java - Version 12.1.3.0.0 and laterInformation in this document applies to any platform.
Symptoms
Unable generate a keypair for a keystore using the generateKeyPair script
wls:/offline> connect to the 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='<STRIPE_NAME>', name='<KEYSTORE_NAME>', password='<PASWORD>', dn='cn=<DOMAIN_NAME>', keysize='1024',alias='<ALIAS>', keypassword='<PASWORD>')
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 <KEYSTORE_NAME> in stripe <STRIPE_NAME> does not exist.
Traceback (innermost last):
File "<console>", line 1, in ?
File "/<MIDDLEWARE_HOME>/oracle_common/common/wlst/jpsWlstCmd.py", line 1772, in generateKeyPair
File "/<MIDDLEWARE_HOME>/oracle_common/common/wlst/jpsWlstCmd.py", line 1756, in generateKeyPairImpl
javax.management.MBeanException: JPS-06518: Keystore <KEYSTORE_NAME> in stripe mft does not exist.
at weblogic.utils.StackTraceDisabled.unknownMethod()
Caused by: oracle.as.jmx.framework.exceptions.ManagementException: JPS-06518: Keystore <KEYSTORE_NAME> in stripe <STRIPE_NAME> does not exist.
... 1 more
javax.management.MBeanException: javax.management.MBeanException: JPS-06518: Keystore <KEYSTORE_NAME> in stripe <STRIPE_NAME> does not exist.
wls:/mft_domain/serverConfig>
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 |