Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Keystore generation using HmacSHA256 algorithm

843811May 19 2009 — edited May 19 2009
I am trying to generate a keystore using HmacSHA256 algorithm but iam getting an error saying - keytool error: java.lang.Exception: Cannot derive signature algorithm.

The following are the keytool command parameters passed to generate the keystore :

keytool -genkey -alias ace123 -keyalg HmacSHA256 -keysize 256 -keystore ace_keystore.jks -storepass ace123

Any help would be appreciated.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 16 2009
Added on May 19 2009
1 comment
1,290 views