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

Remove properties files for CRLstore and CertStore

    Details

    • Sprint:
      EJBCA Team Bob - 2019 w18

      Description

      We are trying to move away from using properties files configured at compile time, and instead configure EJBCA at runtime, either from the UI or through some kind of API. This ticket is a step in this direction with the goal of getting rid of the property files crlstore.properties and certstore.properties.

      The links for downloading CRLs are disabled in the RA web when using the default crlstore configuration and you must recompile to have the RA web display them. The CRL download links should always be visible as long as the CRLstore servlet is enabled in modular protocol configuration.

      CertStore

      certstore.properties contains the following properties by default:

      certstore.enabled=false
      certstore.contextroot=/ejbca/publicweb/certificates
      

      Do the following:

      • Remove the configuration file certstore.properties from the conf directory.
      • During an upgrade: If CertStore protocol status is not set in modular protocol configuration, then set it to false.
      • Remove the property certstore.enabled and all references to it, both in the Java code and in the ant build scripts. certstore.enabled should always be true.
      • When querying for certstore.contextroot, return the default value "/ejbca/publicweb/certificates" defined in the modular protocol configuration code.
      • Write an upgrade note.

      CRLstore

      certstore.properties contains the following properties by default:

      crlstore.enabled=false
      crlstore.contextroot=/ejbca/publicweb/crls
      

      Do the following:

      • Remove the configuration file crlstore.properties from the conf directory.
      • During an upgrade: If CRLstore protocol status is not set in modular protocol configuration, then set it to false.
      • Remove the property crlstore.enabled and all references to it, both in the Java code and in the ant build scripts. crlstore.enabled should always be true.
      • When querying for crlstore.contextroot, return the default value "/ejbca/publicweb/crls" defined in the modular protocol configuration code.
      • Write an upgrade note.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bastianf Bastian Fredriksson
              Reporter:
              bastianf Bastian Fredriksson
              Verified by:
              Ulf Undmark
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 2 hours Original Estimate - 2 hours
                  2h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 6 hours, 30 minutes
                  6h 30m