From: | Prince Pathria <prince(dot)pathria(at)goevive(dot)com> |
---|---|
To: | pg(at)fastcrypt(dot)com |
Cc: | pradeep09puppala(at)gmail(dot)com, pgsql-jdbc(at)lists(dot)postgresql(dot)org |
Subject: | Re: Query related to jdbc 42.2.5 version |
Date: | 2018-10-01 08:54:34 |
Message-ID: | CAON0DazpAPFjzHehz-2o9aG1YgUJHrRYyGwRnGJnsJQAZb30dw@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Hi Pradeep,
change your jdbc connection line like this
jdbc:postgresql://x.x.x.1:5432,x.x.x.2:5432,x.x.x.3:5432/dbname?targetServerType=preferSlave&loadBalanceHosts=true&
sslmode=require
Even I'm using self signed certificate
Prince Pathria Systems Architect Intern Evive +91 9478670472 goevive.com
On Sat, Sep 29, 2018 at 3:59 PM Dave Cramer <pg(at)fastcrypt(dot)com> wrote:
> Yes, we use them in all the tests.
>
> Dave Cramer
>
> davec(at)postgresintl(dot)com
> www.postgresintl.com
>
>
> On Tue, 25 Sep 2018 at 10:28, pradeep puppala <pradeep09puppala(at)gmail(dot)com>
> wrote:
>
>> Hi,
>>
>> I have a difficulty in connecting to postgresql database with ssl
>> enabled. I am using jdbc version 42.2.5. I am using self signed ssl
>> certificates. Now my doubt is , are self signed certificates allowed by
>> jdbc 42.2.5 for database connections with ssl.
>>
>> Regards,
>> Pradeep
>>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Cramer | 2018-10-10 13:40:55 | [pgjdbc/pgjdbc] 10201f: fix: autosave being overwritten in BaseDataSource ... |
Previous Message | Dave Cramer | 2018-09-29 10:29:09 | Re: Query related to jdbc 42.2.5 version |