sslmode => allow for database.php doesn't seem to work

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major
    • Affects Version/s: COmanage Registry 4.2.1 (Pacific Pier MR1), COmanage Match 1.1.1 (Crisp Apple MR1)
    • Component/s: Match, Registry
    • None
    • Environment:
      docker

      I have TLS enabled on my postgresql DB and both registry and match talk to it (or I was hoping for that).  registry does talk to it but NOT using a TLS connection (even with sslmode set to allow in database.php.  Match fails to talk to the DB until I specify sslmode allow in database.php but there is no way via the container environment to pass in this setting.  Both match and registry database.php are similar (here is what I used for match generated by the docker ENV vars and then I modified the file while the container was running):

          'Datasources' => [

            'default' => [

            'className' => 'Cake\Database\Connection',

            'driver' => 'Cake\Database\Driver\Postgres',

            'host' => 'pgm',

            'username' => 'match',

            'password' => 'xxxxxxx',

            'database' => 'match',

            'sslmode' => 'allow',

            ]

            Assignee:
            Benn Oshrin (internet2.edu)
            Reporter:
            Michael Gettes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: