000025432 - Error 'Autogen not enabled for: DefaultKeyClass' when trying to get a key

Document created by RSA Customer Support Employee on Jun 16, 2016Last modified by RSA Customer Support Employee on Apr 21, 2017
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000025432
Applies ToRSA Key Manager Server 2.1
RSA Key Manager Client 2.1
IssueRKM Client returns the following error:

ERROR: R_KM_get_key by Key Class <KeyClassName> returned 20010
RKM Server returns the following error from the logs:

(com.rsa.keymanager.shampoo.skeleton.KeyManagerShampooErrorHandler.record(KeyManagerShampooErrorHandler.java:62))
au.net.netstorm.boost.edge.EdgeException: java.lang.reflect.InvocationTargetException
 at au.net.netstorm.boost.edge.java.lang.reflect.DefaultEdgeMethod.invoke(DefaultEdgeMethod.java:14)
 at com.rsa.shampoo.skeleton.DefaultSkeleton.downCall(DefaultSkeleton.java:60)
 at com.rsa.shampoo.skeleton.DefaultSkeleton.call(DefaultSkeleton.java:34)
 at com.rsa.shampoo.skeleton.DefaultSkeleton.call(DefaultSkeleton.java:28)
...
 at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
 at java.lang.reflect.Method.invoke(Unknown Source)
 at au.net.netstorm.boost.edge.java.lang.reflect.DefaultEdgeMethod.invoke(DefaultEdgeMethod.java:10)
 ... 69 more
Caused by: com.rsa.keymanager.key.support.AutoGenException: Autogen not enabled for: DefaultKeyClass[
    secCls=DefaultSecCls[
        uuid=d149a79a-50ad-42b3-a437-e9cd81a12413
        name=KeyClass 2
        identityGroup=DefaultIdentityGroup[
            id=2
            name=Applications
        ]
        duration=null
        attributeDetails=DefaultAttributeDetails[
            classAttributes={}
            attributeSpecs={}
        ]
    ]
    autoGen=false
    cipher=DefaultCipher[
        id=275B79C9-B578-4F8C-BFD8-3C7C8514112A
        name=HMAC SHA384
        mode=
        size=DefaultCipherSize[
            effectiveSize=384
            physicalSize=384
        ]
    ]
    mode=1
]
 at com.rsa.keymanager.keyclass.TemporalGetKeyHandler.generate(TemporalGetKeyHandler.java:41)
 at com.rsa.keymanager.keyclass.TemporalGetKeyHandler.current(TemporalGetKeyHandler.java:37)
 at com.rsa.keymanager.keyclass.TemporalGetKeyHandler.getKey(TemporalGetKeyHandler.java:32)
 at com.rsa.keymanager.natural.core.DefaultGetKeyMegatroid.getKey(DefaultGetKeyMegatroid.java:16)
 at com.rsa.keymanager.natural.core.DefaultKeyNatural.getKey(DefaultKeyNatural.java:40)
 at com.rsa.keymanager.api.crow.server.DefaultCrowKeyFinder.find(DefaultCrowKeyFinder.java:45)
 at com.rsa.keymanager.api.crow.server.DefaultCrowApi.getKeyByClass(DefaultCrowApi.java:37)
com.rsa.keymanager.key.support.AutoGenException: Autogen not enabled for: DefaultKeyClass
CauseThe keyclass does not have a key and the keyclass is not configured to auto-generate a key
ResolutionVerify in Key Manager Server Admin Console that the keyclass you are getting a key from contains a key, or can auto-generate keys.

See solution How to modify the automatic key generation configuration of a key class?
Legacy Article IDa36942

Attachments

    Outcomes