Re: PostgreSQL 9.3.5 - Enable SSL

From: <shyamkant(dot)dhamke(at)wipro(dot)com>
To: <nag1010(at)gmail(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: PostgreSQL 9.3.5 - Enable SSL
Date: 2016-02-24 05:47:13
Message-ID: TY1PR0301MB123051D7F1F59FE6F0C59B7F98A50@TY1PR0301MB1230.apcprd03.prod.outlook.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi Venkata B N,

Thanks for response. I have attached files for your reference. Yes we have made entry in pg_hba.conf file.

Please help. Thanks in advance.

Regards
Shyamkant

From: Venkata Balaji N [mailto:nag1010(at)gmail(dot)com]
Sent: 24 February, 2016 2:29 AM
To: Shyamkant Dhamke (BAS) <shyamkant(dot)dhamke(at)wipro(dot)com>; pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [ADMIN] PostgreSQL 9.3.5 - Enable SSL

On Wed, Feb 24, 2016 at 3:04 AM, <shyamkant(dot)dhamke(at)wipro(dot)com<mailto:shyamkant(dot)dhamke(at)wipro(dot)com>> wrote:
Many Thanks Venkata B N,

We have followed steps as mentioned by you. We are able to connect using PGAdmin, but now we are facing challenge while connecting from ASP.Net client.

My connection string is
<add key="ConnectPIAM_TRANS_DB" value="Server=10.200.201.79;Port=5555; User Id=postgres; Password=wipro(at)123;Database=PIAM_TRANS_DB;Protocol=3;SSL=true;sslMode=Require;"/>

Also attached cert file for your reference.

I am getting below error
“FATAL: 28000: connection requires a valid client certificate”

Did you make an hostssl entry in pg_hba.conf for the host from where pgAdmin-III is connecting ?

Can you get us the ssl* parameters configured in postgresql.conf file ?

Regards,
Venkata B N

Fujitsu Australia
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

Attachment Content-Type Size
pg_hba.conf application/octet-stream 4.6 KB
postgresql.conf application/octet-stream 20.1 KB

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Albe Laurenz 2016-02-24 09:47:09 Re: PostgreSQL 9.3.5 - Enable SSL
Previous Message Keith 2016-02-24 03:12:14 Re: Incremental Refresh - PostgreSQL 9.2