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

Can not use Brainpool or explicit ECC curve in CLI (e.g. import CA certificate, list/export CA)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: EJBCA 6.2.2
    • Fix Version/s: EJBCA 6.4.0
    • Component/s: CLI
    • Labels:
      None
    • Environment:
      java version "1.7.0_65"
    • Issue discovered during:
      Integration

      Description

      Trying to import a CA certificate with a EC public key using the brainpoolp256r1 curve and signed with SHA256withECDSA gives a NotSerializableException:

      $ bin/ejbca.sh ca importcacert --caname BrainpoolRootCA -f BrainpoolRootCA.pem

      server.log: NotSerializableException: java.security.cert.Certificate: X.509: java.io.IOException: Unknown named curve: 1.3.36.3.3.2.8.1.1.7

      It worked fine using the Admin GUI.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                samuel Samuel Lidén Borell
                Reporter:
                markus Markus Kilås
                Verified by:
                Johan Eklund
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: