Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via sourceforge.net by Unknown author, 1 year ago
sun.security.pkcs11.wrapper.PKCS11Exception: CKR_KEY_TYPE_INCONSISTENT
via ejbca by axaxen
, 2 years ago
sun.security.pkcs11.wrapper.PKCS11Exception: CKR\_FUNCTION\_FAILED
via java.com by Unknown author, 2 years ago
java.security.ProviderException: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_KEY_TYPE_INCONSISTENT at sun.security.pkcs11.P11Signature.engineSign(P11Signature.java:483) at java.security.Signature$Delegate.engineSign(Signature.java:1128) at java.security.Signature.sign(Signature.java:522) at org.bouncycastle.x509.X509Util.calculateSignature(Unknown Source) at org.bouncycastle.x509.X509V3CertificateGenerator.generate(Unknown Source) at org.bouncycastle.x509.X509V3CertificateGenerator.generate(Unknown Source) at org.ejbca.ui.cli.KeyStoreContainer.getSelfCertificate(KeyStoreContainer.java:157) at org.ejbca.ui.cli.KeyStoreContainer.generate(KeyStoreContainer.java:173) at org.ejbca.ui.cli.HSMKeyTool.main(HSMKeyTool.java:66)Caused by: sun.security.pkcs11.wrapper.PKCS11Exception: CKR_KEY_TYPE_INCONSISTENT at sun.security.pkcs11.wrapper.PKCS11.C_SignFinal(Native Method) at sun.security.pkcs11.P11Signature.engineSign(P11Signature.java:445) ... 8 more