Uploaded image for project: 'Gazelle Security Suite'
  1. Gazelle Security Suite
  2. GSS-299

Unable to create CertificateRequest in an empty database.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Urgent
    • Resolution: Fixed
    • Affects Version/s: 5.0.0
    • Fix Version/s: 5.0.2
    • Component/s: PKI
    • Labels:
      None
    • Sprint:
      2016 - S2
    • Account:
      Maintenance 2016 (MAINTENANCE2016)

      Description

      If GSS is deployed as a new installation (clean database with no data), it is not possible to request a certificate, we get the following error :

      org.postgresql.util.PSQLException: ERROR: value too long for type character varying(31)

      The problem comes from the dtype column of tls_certificate_request table: By default the size is 31, however the name of the request class is 'CertificateRequestWithGeneratedKeys' which have a length of 35.

      In the update.sql script of the 5.0.0 version, the dtype size has been increased, but not for an installation from scratch.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ceoche Cédric Eoche-Duval
              Reporter:
              ceoche Cédric Eoche-Duval
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1 hour Original Estimate - 1 hour
                  1h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour, 30 minutes
                  1h 30m

                    Potential Duplicates