org.openas2.cert.KeyNotFoundException: Certificate:   \[0\]         Version: 1       SerialNumber: 10386151651934169314           IssuerDN: C=CN,ST=<AREA>,L=<AREA>,O=Company,OU=trading partner,CN=<NAME>,E=<EMAIL>         Start Date: Tue Apr 17 22:12:24 SGT 2007         Final Date: Thu Apr 16 22:12:24 SGT 2009          SubjectDN: C=CN,ST=<AREA>,L=<AREA>,O=Company,OU=trading partner,CN=<NAME>,E=<EMAIL>         Public Key: RSA Public Key          modulus: c3b68d5f2e43fa5604061622eec63f60938b53d14f6774fb7896744a4dd474311960024f106f63817f11013b06b868e6ff10999744dc34de4cede30539a049c774f47e3798537fde5e5dd9b2111ca618bb85233f2110481426bd60f258e27c6567e8b149d8f744eabc16878d36cb22c18262a7969cc2b2fab1a04b940b9706ed public exponent: 10001   Signature Algorithm: SHA1WithRSAEncryption          Signature: 6f1ae4daf22d5cb479ddac4ee5a2f9190e7cd1fb                     89f5632e0f2822b7997e4821e6cdb04170766856                     53c85da0dde9e3098f57d139f0212566a46b9420                     f3c624e20233d805a4611f716ba4211f49ebf2d8                     07102fa5affee102f4a6f7484f6fd1d2a7cab177                     c5db7379b7de9ff0b9a570ba2d7552fbb76a9995                     6a425f8853cc0321 , Alias: null

openas2 | smchin | 10 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    org.openas2.cert.KeyNotFoundException

    openas2 | 10 years ago | smchin
    org.openas2.cert.KeyNotFoundException: Certificate:   \[0\]         Version: 1       SerialNumber: 10386151651934169314           IssuerDN: C=CN,ST=<AREA>,L=<AREA>,O=Company,OU=trading partner,CN=<NAME>,E=<EMAIL>         Start Date: Tue Apr 17 22:12:24 SGT 2007         Final Date: Thu Apr 16 22:12:24 SGT 2009          SubjectDN: C=CN,ST=<AREA>,L=<AREA>,O=Company,OU=trading partner,CN=<NAME>,E=<EMAIL>         Public Key: RSA Public Key          modulus: c3b68d5f2e43fa5604061622eec63f60938b53d14f6774fb7896744a4dd474311960024f106f63817f11013b06b868e6ff10999744dc34de4cede30539a049c774f47e3798537fde5e5dd9b2111ca618bb85233f2110481426bd60f258e27c6567e8b149d8f744eabc16878d36cb22c18262a7969cc2b2fab1a04b940b9706ed public exponent: 10001   Signature Algorithm: SHA1WithRSAEncryption          Signature: 6f1ae4daf22d5cb479ddac4ee5a2f9190e7cd1fb                     89f5632e0f2822b7997e4821e6cdb04170766856                     53c85da0dde9e3098f57d139f0212566a46b9420                     f3c624e20233d805a4611f716ba4211f49ebf2d8                     07102fa5affee102f4a6f7484f6fd1d2a7cab177                     c5db7379b7de9ff0b9a570ba2d7552fbb76a9995                     6a425f8853cc0321 , Alias: null
  2. 0

    Openas2 with https

    openas2 | 1 decade ago | testas2
    org.openas2.cert.KeyNotFoundException: Certificate:   \[0\]         Version: 1       SerialNumber: 12252148564844617182           IssuerDN: C=DE,ST=test,L=test,O=ls,OU=ls,CN=test,E=test@test.com         Start Date: Thu Apr 21 08:11:42 CEST 2005         Final Date: Sun Apr 21 08:11:42 CEST 2013          SubjectDN: C=DE,ST=test,L=test,O=ls,OU=ls,CN=test,E=test@test.com         Public Key: RSA Public Key          modulus: b00c4bd2af19f9f1dd9d4f12d853006b447bf58da0fe807c33ac87ee21205f92fbc529bd336c49972057da12ae10461aac8d6dbbd1b374eaa884a37fb1fd514890427640715fd53b32c5d65c328813a8ce0de6768f2812f42e35592ae8e8a701a4eef5c075a70164b28457c22dfe72c5fc18315babc75af21a1a9e24fed6f443 public exponent: 10001   Signature Algorithm: MD5WithRSAEncryption          Signature: 40eb05c8d7a5347621f7f3222a07fec23344c00f                     e2c9e36252edd162f7c7d2a0ef36956d56c87cdf                     e13d71df00bc198071eacc1c49197cdfb53bde89                     02f0562eb733bef1f7ee8b12872e5350140bd375                     5ccc14c774a8b385687b05244c492fe29362ea29                     73fe7aa1ebb6507a7b7963e1cd20c4fc4e5294cb                     e169f4829153a554 , Alias: null
  3. 0

    Decryption failing - mic is not matched

    openas2 | 7 years ago | yellowhammer
    org.openas2.WrappedException: org.openas2.cert.KeyNotFoundException: Certificate:            Version: 1          SerialNumber: 10210280735018270962              IssuerDN: C=US,ST=AL,L=Birmingham,O=Mcleod Software,OU=EDI,CN=OpenAS2A,E=openas2a@mcleodsoftware.com            Start Date: Tue Aug 17 16:49:15 CDT 2010            Final Date: Fri Aug 17 16:49:15 CDT 2018             SubjectDN: C=US,ST=AL,L=Birmingham,O=Mcleod Software,OU=EDI,CN=OpenAS2A,E=openas2a@mcleodsoftware.com            Public Key: RSA Public Key             modulus: d4d7d16294b5d46e90c8ec52da3e662090f21db24c693866e25707b562df3b1c7a356a1b022fce06245bff5ec9794e502874054814c6a1e41d5c56f0b1cedbcc9701772b30e74cfb3ce1ec6b8cbbe6593af5bc9800d1b9a998132d2226728f3acefd409d5abcaf23d4305863b594f7220263db1e77ddcfbd960d7b1b33ca17c3     public exponent: 10001   Signature Algorithm: SHA1WithRSAEncryption             Signature: 2f0254d206af808f2deefff56dd042d56ff11e83                        58ed6ec579f96a0605da8260e899aad6ca09b85c                        bcd5098eed395180f7766678f84a1cb188784a41                        3f3835609578e9755af4d4c93146e2e4a3979d58                        a1c2cc9c9290020d2959883fbd8bb125cd2786cd                        a54d42fb4dd2279e99316447fb17fd123efb5114                        2b41cea0162efe41 , Alias: null
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Certificate -- KeyNotFoundException

    openas2 | 1 decade ago | amitdhar
    org.openas2.cert.KeyNotFoundException: Certificate:   \[0\]         Version: 1   SerialNumber: -449600707       IssuerDN: C=US,ST=CA,L=SantaMonica,O=OPENAS2A,OU=OPENAS2A,CN=OPENAS2A     Start Date: Tue Apr 13 11:49:17 PDT 2004     Final Date: Fri May 13 00:00:00 PDT 2005      SubjectDN: C=US,ST=CA,L=SantaMonica,O=OPENAS2A,OU=OPENAS2A,CN=OPENAS2A     Public Key: RSA Public Key      modulus: bff5148bbe73099b36a472f2ac85b1e5b87fbcdfcd02edc18158511fb03b5943ac29864f5ee9a97df5154de949fe89a1ce164224128c26ba303e6ee350933addd6aa668273e118f553af21adc3344b5eae585551fb596eeaa01ad49ef286e756e72d5237ed2181f03b56eb68120d43aedb36b33027b2752badaf0a3c9c073fe3     public exponent: 10001   Signature Algorithm: SHA1WithRSAEncryption      Signature: be79517e75eabe9cb1256f714fdf6f109df0072d                 b04c9020419ac80353e4ad61b9c4b62679c23cdd                 3a4fbeb97b766f5efe6124ecd2ec66b2a760fb25                 775d451e0dc9e1f2a797d4960f37e6529776f0f8                 e36f0e99a8c357e800660f7809b7ffa4d78dd889                 483d154568d343a012a488bdea126179f87c2742                 ac800c690728784a , Alias: null
  6. 0

    org.openas2.cert.KeyNotFoundException

    openas2 | 9 years ago | victoria_wild
    org.openas2.WrappedException: org.openas2.cert.KeyNotFoundException: Certificate:   \[0\]         Version: 1       SerialNumber: 15696514686058265385           IssuerDN: C=GB,ST=CHESHIRE,L=STOCKPORT,O=SOMETHING,OU=EDI,CN=AKA,E=e-xxxxx@xxxx.co.uk         Start Date: Thu Jul 10 09:46:20 BST 2008         Final Date: Sun Jul 10 09:46:20 BST 2016          SubjectDN: C=GB,ST=CHESHIRE,L=STOCKPORT,O=SOMETHING,OU=EDI,CN=AKA,E=e-xxxxx@xxxx.co.uk         Public Key: RSA Public Key          modulus: e1a1567c443f80b1deb04f94b1b8c359de1ad2088bdde3d996775ffc518cf1f6185563d571e82608423839ca34f1ac57f522046d8675115d9d0043abc6f1cc7ab8f2f7ee69d6e5e2401f0262ef6146cb96a19a27da4f9528d5048c5e1f6978c8373525aeaa7355a9fb3510e0973080ce59f9c630db2b206d37626623a7936b15 public exponent: 10001   Signature Algorithm: SHA1WithRSAEncryption          Signature: d6452ea777e9159882d6819272aae2af99ed38f2                     be526aa134aa63a46d84e66bf0a6f712a45654a8                     f108a47b765acd364720d2ebe47b0530e6961830                     37c3deed93210ef2736863ef599f803f7a98fd02                     9a5e80f879eca1164f315ac265123e32223b72a5                     fd591e2ca3acfdc576a2cb4fac4ec2d8bec24d3d                     f4f3307d704f78f2 , Alias: null

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.openas2.cert.KeyNotFoundException

      Certificate:   \[0\]         Version: 1       SerialNumber: 10386151651934169314           IssuerDN: C=CN,ST=<AREA>,L=<AREA>,O=Company,OU=trading partner,CN=<NAME>,E=<EMAIL>         Start Date: Tue Apr 17 22:12:24 SGT 2007         Final Date: Thu Apr 16 22:12:24 SGT 2009          SubjectDN: C=CN,ST=<AREA>,L=<AREA>,O=Company,OU=trading partner,CN=<NAME>,E=<EMAIL>         Public Key: RSA Public Key          modulus: c3b68d5f2e43fa5604061622eec63f60938b53d14f6774fb7896744a4dd474311960024f106f63817f11013b06b868e6ff10999744dc34de4cede30539a049c774f47e3798537fde5e5dd9b2111ca618bb85233f2110481426bd60f258e27c6567e8b149d8f744eabc16878d36cb22c18262a7969cc2b2fab1a04b940b9706ed public exponent: 10001   Signature Algorithm: SHA1WithRSAEncryption          Signature: 6f1ae4daf22d5cb479ddac4ee5a2f9190e7cd1fb                     89f5632e0f2822b7997e4821e6cdb04170766856                     53c85da0dde9e3098f57d139f0212566a46b9420                     f3c624e20233d805a4611f716ba4211f49ebf2d8                     07102fa5affee102f4a6f7484f6fd1d2a7cab177                     c5db7379b7de9ff0b9a570ba2d7552fbb76a9995                     6a425f8853cc0321 , Alias: null

      at org.openas2.cert.PKCS12CertificateFactory.getPrivateKey()
    2. org.openas2.cert
      PKCS12CertificateFactory.getPrivateKey
      1. org.openas2.cert.PKCS12CertificateFactory.getPrivateKey(PKCS12CertificateFactory.java:168)
      2. org.openas2.cert.PKCS12CertificateFactory.getPrivateKey(PKCS12CertificateFactory.java:178)
      2 frames
    3. org.openas2.processor
      PollingModule$PollTask.run
      1. org.openas2.processor.sender.AS2SenderModule.secure(AS2SenderModule.java:389)
      2. org.openas2.processor.sender.AS2SenderModule.handle(AS2SenderModule.java:66)
      3. org.openas2.processor.DefaultProcessor.handle(DefaultProcessor.java:53)
      4. org.openas2.processor.receiver.DirectoryPollingModule.processFile(DirectoryPollingModule.java:152)
      5. org.openas2.processor.receiver.DirectoryPollingModule.updateTracking(DirectoryPollingModule.java:122)
      6. org.openas2.processor.receiver.DirectoryPollingModule.poll(DirectoryPollingModule.java:44)
      7. org.openas2.processor.receiver.PollingModule$PollTask.run(PollingModule.java:49)
      7 frames
    4. Java RT
      TimerThread.run
      1. java.util.TimerThread.mainLoop(Unknown Source)
      2. java.util.TimerThread.run(Unknown Source)
      2 frames