Skip to content

can we enforce sslmode=require #49

Open

Description

@johnbritto1

Hello,

How can we enforce sslmode=require in pgsql drivers in this.
Please assist.

Will a server configured as

'Test abc' => array(
'host' => '1.1.1.1:5400;sslmode=require',
'driver' => 'pgsql'
)

would work ?

Activity

  1. Samnan commented on Jun 6, 2018

    @Samnan
    Owner
  2. johnbritto1 commented on Jun 13, 2018

    @johnbritto1
    Author

    Hi Samnan,

    I think the SSL feature needs to be implemented in client side for auth security.
    Because even we enforce hostssl on the pg_hba.conf in server side, pgpsql will first try connection via HTTP. Once the connection terminates, then it try again with HTTPS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions