Uploaded image for project: 'AMQ Streams'
  1. AMQ Streams
  2. ENTMQST-998

Fix problem with 0 validity in UO when custom CA is used

XMLWordPrintable

    • 1
    • 2019.7

      When the CR contains only partial configuration of the clusterCa or clientsCa, for example:

         clusterCa:
           generateCertificateAuthority: false
         clientsCa:
           generateCertificateAuthority: false
      

      Then the validity or the renewalDays might be set to 0. That can cause problems for example in the User Operator which isn't able to sign any user certificates with the 0 days validity (OpenSSL throws an error).

      This PR adds checks whether the validity or renewal days are 0, and uses the default values instead in such case.

              Unassigned Unassigned
              scholzj JAkub Scholz
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: