Forum Stats

  • 3,769,900 Users
  • 2,253,029 Discussions
  • 7,875,233 Comments

Discussions

Error while signing the document java.security.SignatureException: Keyset does not exis

Hello All

I would liek to ask you for help:

Java Web Start 11.291.2.10 Using JRE version 1.8.0_291-b10 Java HotSpot(TM) Client VM

WIndows 10 64bit


I have problem with signing action in electronic portal for electronic communications with personal ID certifications.

-------------------------------------------------------------------------------------------------------------------

The message from Signer external Application https://zakazky.sako.cz requires data sign, Error while signig the document

------------------------------------------------------------------------------------------------------------------

JAVA CONSOLE:

Java Web Start 11.291.2.10 Using JRE version 1.8.0_291-b10 Java HotSpot(TM) Client VM

JRE expiration date: 17.8.2021 0:00

Error while signing the document

java.security.SignatureException: Keyset does not exist

javax.xml.crypto.dsig.XMLSignatureException: java.security.SignatureException: Keyset does not exist


   at org.jcp.xml.dsig.internal.dom.DOMSignatureMethod.sign(Unknown Source)

   at org.jcp.xml.dsig.internal.dom.DOMXMLSignature.sign(Unknown Source)

   at cz.qcm.signer.xml.XMLSigner.signLegacy(XMLSigner.java:158)

   at cz.qcm.signer.xml.XMLSigner.sign(XMLSigner.java:52)

   at cz.qcm.signer.SignDialog$12.construct(SignDialog.java:517)

   at cz.qcm.signer.utils.SwingWorker$2.run(SwingWorker.java:57)

   at java.lang.Thread.run(Unknown Source)

Caused by: java.security.SignatureException: Keyset does not exist


   at sun.security.mscapi.CSignature.signHash(Native Method)

   at sun.security.mscapi.CSignature.access$000(CSignature.java:72)

   at sun.security.mscapi.CSignature$RSA.engineSign(CSignature.java:220)

   at java.security.Signature$Delegate.engineSign(Unknown Source)

   at java.security.Signature.sign(Unknown Source)

   ... 7 more

java.security.SignatureException: Keyset does not exist


   at sun.security.mscapi.CSignature.signHash(Native Method)

   at sun.security.mscapi.CSignature.access$000(CSignature.java:72)

   at sun.security.mscapi.CSignature$RSA.engineSign(CSignature.java:220)

   at java.security.Signature$Delegate.engineSign(Unknown Source)

   at java.security.Signature.sign(Unknown Source)

   at org.jcp.xml.dsig.internal.dom.DOMSignatureMethod.sign(Unknown Source)

   at org.jcp.xml.dsig.internal.dom.DOMXMLSignature.sign(Unknown Source)

   at cz.qcm.signer.xml.XMLSigner.signLegacy(XMLSigner.java:158)

   at cz.qcm.signer.xml.XMLSigner.sign(XMLSigner.java:52)

   at cz.qcm.signer.SignDialog$12.construct(SignDialog.java:517)

   at cz.qcm.signer.utils.SwingWorker$2.run(SwingWorker.java:57)

   at java.lang.Thread.run(Unknown Source)

Answers