In Sun Solaris 10, not able to create the key. JDK 1.6 Installed & PATH & JAVA_HOME both are referred to jdk 1.6. It is showing the belwo error
Error: wrap() failed java.security.InvalidKeyException: wrap() failed at sun.security.pkcs11.P11RSACipher.engineWrap(P11RSACipher.java:395) at javax.crypto.Cipher.wrap(DashoA13*..) Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_MECHANISM_INVALID at sun.security.pkcs11.wrapper.PKCS11.C_WrapKey(Native Method) at sun.security.pkcs11.P11RSACipher.engineWrap(P11RSACipher.java:391) ... 3 more Error: java.lang.Exception: Could not wrap the key: wrap() failed java.lang.Exception: Could not wrap the key: wrap() failed. If any patch is required for solaris sparc 10. Thanks -- This message posted from opensolaris.org _______________________________________________ opensolaris-help mailing list [email protected]
