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

bin/ejbca.sh ca listcas throws exception when listing external CA using explicit (unnamed) curve

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: EJBCA 6.2.7
    • Fix Version/s: None
    • Component/s: CLI
    • Issue discovered during:
      Customer

      Description

      When an external X.509 CA is present in EJBCA which uses an explicit (unnamed) elliptic curve in its certificate, the CLI command for listing the CAs will always throw an exception.

      A sample X.509 CA certificate has been attached to the issue.

      Reproduction steps:

      1. Create an external CA in EJBCA using the provided X.509 CA certificate.

      2. List available CAs in EJBCA via CLI:

      bin/ejbca.sh ca listcas

      Expected results:

      1. All CAs have been listed in the command output.

      Actual results:

      1. An exception is thrown:

      Exception in thread "main" javax.ejb.EJBException: java.io.NotSerializableException: java.security.cert.Certificate: X.509: java.io.IOException: Only named ECParameters supported

      See full listing in attached file listcas_ca_with_explicit_curve.txt

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              samuel Samuel Lidén Borell
              Reporter:
              branko Branko Majic (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: