TESTFAIL:sun/security/pkcs11/rsa/TestKeyPairGenerator.java
java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_FUNCTION_FAILED
at sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:323)
at java.security.KeyPairGenerator$Delegate.generateKeyPair(KeyPairGenerator.java:681)
at TestKeyPairGenerator.main(TestKeyPairGenerator.java:118)
at PKCS11Test.premain(PKCS11Test.java:79)
at PKCS11Test.testNSS(PKCS11Test.java:357)
at PKCS11Test.main(PKCS11Test.java:89)
at TestKeyPairGenerator.main(TestKeyPairGenerator.java:96)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:491)
at com.sun.javatest.regtest.MainAction$SameVMRunnable.run(MainAction.java:728)
at java.lang.Thread.run(Thread.java:724)
Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_FUNCTION_FAILED
at sun.security.pkcs11.wrapper.PKCS11.C_GenerateKeyPair(Native Method)
at sun.security.pkcs11.P11KeyPairGenerator.generateKeyPair(P11KeyPairGenerator.java:315)
... 12 more