[Opendnssec-user] Key Wrapping with SUNPKCS11 and SoftHSM

Rickard Bellgrim rickard at opendnssec.org
Mon Jan 20 10:15:38 UTC 2014


>
> I get an error statingjava.security.InvalidKeyException: No installed
> provider supports this key: sun.security.pkcs11.P11Key$P11RSAPublicKey at
> javax.crypto.Cipher.chooseProvider(Cipher.java:878) at
> javax.crypto.Cipher.init(Cipher.java:1213) at
> javax.crypto.Cipher.init(Cipher.java:1153) at
> softhsm.SoftHSM.main(SoftHSM.java:96)
>

The error states that the mechanism is not supported. Are you using
SoftHSMv1? Version 1 does not have support for symmetric crypto and key
wrapping. Version 2 does, but it is still under development.

// Rickard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opendnssec.org/pipermail/opendnssec-user/attachments/20140120/b382d186/attachment.htm>


More information about the Opendnssec-user mailing list