Uploaded image for project: 'EJBCA'
  1. EJBCA
  2. ECA-4188

Serialization issue of Certificate from remote SignSession invocations

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: EJBCA 6.3.1
    • Fix Version/s: None
    • Component/s: PKI core
    • Labels:
      None
    • Environment:
      OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~precise1)
      OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)

      jboss-as-7.1.1.Final
    • Issue discovered during:
      Testing

      Description

      Similar to the serialization issue fixed under ECA-4018.

      The following tests are currently failing on the A2:
      AuthenticationModulesTest.test23EECAuthWithRSAandECDSA
      SignSessionWithEllipticCurveDsaTest.... (7 tests)
      CrmfKeyUpdateTest.test15KeyUpdateMixAlgorithms

      They all fail very similar due to failed serialization of the SignSession.createCertificate* methods:

      java.lang.reflect.UndeclaredThrowableException
      at com.sun.proxy.$Proxy13.createCertificate(Unknown Source)
      ...
      Caused by: an exception which occurred: in object of type java.security.cert.Certificate$CertificateRep

      We should use separate this into local and remote calls, where the remote call uses a wrapper of Certificate.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              johan Johan Eklund
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: