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

X509CertificateObject cannot be cast to org.bouncycastle.jce.interfaces.PKCS12BagAttributeCarrier

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Cannot reproduce
    • Affects Version/s: EJBCA 6.13.0
    • Fix Version/s: None
    • Component/s: None
    • Issue discovered during:
      Ad Hoc

      Description

      I tried to issue a cert from the RA web and saw the following error message in the log

      2:33:32,587 ERROR [org.cesecore.keys.util.KeyTools] (default task-42) ClassCastException setting BagAttributes, can not set friendly name: : java.lang.ClassCastException: org.bouncycastle.jcajce.provider.asymmetric.x509.X509CertificateObject cannot be cast to org.bouncycastle.jce.interfaces.PKCS12BagAttributeCarrier

      Should be investigated and fixed. Issuance was OK so it's not critical.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bastianf Bastian Fredriksson
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 3 hours
                  3h
                  Remaining:
                  Remaining Estimate - 3 hours
                  3h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified