Re: PostgreSQL 9.3.5 - Enable SSL

From: Albe Laurenz <laurenz(dot)albe(at)wien(dot)gv(dot)at>
To: "'Venkata Balaji N *EXTERN*'" <nag1010(at)gmail(dot)com>, "shyamkant(dot)dhamke(at)wipro(dot)com" <shyamkant(dot)dhamke(at)wipro(dot)com>, pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: PostgreSQL 9.3.5 - Enable SSL
Date: 2016-02-24 09:47:09
Message-ID: A737B7A37273E048B164557ADEF4A58B53800738@ntex2010i.host.magwien.gv.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

shyamkant(dot)dhamke(at)wipro(dot)com wrote:
> 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”

The error message means that the client did not send a valid
client certificate (i.e. one that can be verified using the server's
certificate chain).

What .NET provider are you using?
Do you have a the server parameter ssl_ca_file point to your CA certificate?
Does your provider send a client certificate?

Yours,
Laurenz Albe

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Matheus de Oliveira 2016-02-24 10:56:00 Re: Incremental Refresh - PostgreSQL 9.2
Previous Message shyamkant.dhamke 2016-02-24 05:47:13 Re: PostgreSQL 9.3.5 - Enable SSL