SSL and MD5 passwords

From: Nathan Aherne <nathan(at)reddog(dot)com(dot)au>
To: pgsql-admin(at)postgresql(dot)org
Subject: SSL and MD5 passwords
Date: 2015-05-12 01:02:11
Message-ID: 260E02E1-C55C-4192-B680-81388ED6887B@reddog.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi All,

We would like to use SSL to secure data transmission between our app server and postgres server as they are both on the public internet. We cannot use SSH tunnels as our infrastructure doesn’t allow it. Using client SSL keys poses a number of structural issues for us as well.

Instead we would like to use MD5 Username/Password to authenticate to Postgres while having postgres encrypt the data transfer via SSL (forced). Is this possible? If so:

1. are there any issues with doing things this way?
2. we have configured pg_hba.conf with hostssl and md5 clientcert=0 but cannot seem to get the correct connection string combination. Could someone point me in the correct direction.

Thanks for looking!

Regards,

nathan(at)reddog(dot)com(dot)au

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Albe Laurenz 2015-05-12 07:55:14 Re: SSL and MD5 passwords
Previous Message Guillaume Lelarge 2015-05-11 21:11:15 Re: Issue import (COPY) data by between miss lines