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

External RA GUI cannot handle SubCA certificates with critical CDP

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: EJBCA 3.10.6
    • Fix Version/s: EJBCA 6.2.10
    • Component/s: None
    • Labels:
      None
    • Environment:
      ExternalRA GUI
    • Issue discovered during:
      Customer

      Description

      2011-04-11 13:34:50,706 ERROR [org.ejbca.extra.db.ExtRAMsgHelper] Error verifying data :
      org.bouncycastle.jce.exception.ExtCertPathValidatorException: Certificate has unsupported critical extension.
      at org.bouncycastle.jce.provider.RFC3280CertPathUtilities.prepareNextCertO(Unknown Source)
      at org.bouncycastle.jce.provider.PKIXCertPathValidatorSpi.engineValidate(Unknown Source)
      at java.security.cert.CertPathValidator.validate(CertPathValidator.java:250)
      at org.ejbca.extra.db.ExtRAMsgHelper.verifySignature(ExtRAMsgHelper.java:259)
      at org.ejbca.extra.db.ExtRAMsgHelper.verifySignature(ExtRAMsgHelper.java:167)
      at org.ejbca.extra.db.SubMessages.load(SubMessages.java:100)
      at org.ejbca.extra.db.Message.getSubMessages(Message.java:153)
      at org.ejbca.extra.caservice.ExtRACAServiceWorker.processWaitingMessages(ExtRACAServiceWorker.java:212)
      at org.ejbca.extra.caservice.ExtRACAServiceWorker.work(ExtRACAServiceWorker.java:89)
      at org.ejbca.core.ejb.services.ServiceTimerSessionBean.ejbTimeout(ServiceTimerSessionBean.java:332)
      ...
      at java.util.TimerThread.run(Timer.java:462)

      The CA certificate that has signed the externalra-gui keystore contains OID "2.5.29.31" (CDP) marked as Critical and there is no default handler for this in the BC cert validation.

        Attachments

          Activity

            People

            • Assignee:
              johan Johan Eklund
              Reporter:
              johan Johan Eklund
              Verified by:
              Tomas Gustavsson
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: