Skip to content

Instantly share code, notes, and snippets.

@bastman
Created May 3, 2019 05:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bastman/358bd96e695ec4831035b06dec8a8c39 to your computer and use it in GitHub Desktop.
Save bastman/358bd96e695ec4831035b06dec8a8c39 to your computer and use it in GitHub Desktop.
psql set sslmode
# https://stackoverflow.com/questions/14021998/using-psql-to-connect-to-postgresql-in-ssl-mode
$ export PGSSLMODE=prefer
$ psql ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment