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

Regression: External CAs not listed as "Available CAs" in CLI when using addadmin

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Cosmetic
    • Resolution: Fixed
    • Affects Version/s: EJBCA 6.2.7
    • Fix Version/s: EJBCA 6.2.8
    • Component/s: None
    • Labels:
      None
    • Issue discovered during:
      Testing

      Description

      The scenario is the setup of an OCSP instance using external ManagementCA.

      • After the installation i import the external ManagementCA:
      $ ./ejbca.sh ca importcacert --caname ManagementCA -f ~/ManagementCA.cacert.pem
      Imported CA ManagementCA

      • I check the installed CAs:
      $ ./ejbca.sh ca listcas
      CA Name: ManagementCA
      Id: 1652389506
      Issuer DN: CN=ManagementCA,O=EJBCA Sample,C=SE
      Subject DN: CN=ManagementCA,O=EJBCA Sample,C=SE
      Type: 1
      Expire time: Thu Feb 06 14:05:21 CET 2025
      Signed by: 1

      • At last i get help for addadmin:
      $ ./ejbca.sh roles addadmin --help
      ....
      DESCRIPTION
      Adds an administrator.
      Available Roles: "Super Administrator Role"
      Available CAs:
      Match with is one of: NONE, WITH_COUNTRY, WITH_DOMAINCOMPONENT,
      ...

      So the imported ManagementCA is not listed as "Available"

        Attachments

          Activity

            People

            Assignee:
            mikek Mike Agrenius Kushner
            Reporter:
            dimitrios Dimitrios Tachtsioglou (Inactive)
            Verified by:
            Tomas Gustavsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: