Skip to content

Conversation

scrubmx
Copy link
Contributor

@scrubmx scrubmx commented May 12, 2016

The commit laravel/framework@586bffa added support for sslmode in PostgresConnector.php and sslmode has been around since postgres version 9.1 (2011).

This change makes it possible to specify sslmode from the config file and also serves as documentation to other developers so they don't have to dive deep into the code to figure out that it's posible to set this option.

The posible values for sslmode are: disable, allow, prefer, require, verify-ca, verify-full

The default value is "prefer".

http://www.postgresql.org/docs/9.5/static/libpq-ssl.html#LIBPQ-SSL-PROTECTION

The commit laravel/framework@586bffa added support for sslmode in PostgresConnector.php and sslmode has been around since postgres version 9.1 (2011). 

This change makes it possible to specify sslmode from the config file.

Also serves as documentation to other developers so they don't have to
dive deep into the code to figure out that it's posible to set this option.

The posible values for sslmode are:
    disable, allow, prefer, require, verify-ca, verify-full

The default value is "prefer".

http://www.postgresql.org/docs/9.5/static/libpq-ssl.html#LIBPQ-SSL-PROTECTION
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants