Details
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.
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
- relates to
-
GSS-182 Refactor the use of CertificateRequestAutoSign and CertificateRequestCSR
- Closed