Skip site navigation (1) Skip section navigation (2)

Re: SSL Problem

From: Kris Jurka <books(at)ejurka(dot)com>
To: Stefano Bonnin <stefano(dot)bonnin(at)comai(dot)to>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: SSL Problem
Date: 2004-07-15 18:18:24
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc

On Thu, 15 Jul 2004, Stefano Bonnin wrote:

> 2004-07-15 14:03:40 LOG:  could not load root certificate file
> "/usr/local/pgsql-7.4.2/bin/../../pgsql-7.4.1/data/root.crt": No such file
> or directory
> DETAIL:  Will not verify client certificates.

This is fine.  You do not need a root.crt file.   This is used to 
authenticate clients to the server which is optional and not necessary to 
establish a SSL connection.

Again the problem seems to be that you have not made the server cert 
available to the connecting jvm.  Adding to your 
java command will produce a lot of debug information, but will likely 
confirm this.  The key line will be in the first part of the output where 
it displays which trustStore you are using.  The server cert must be in 
this file.

Kris Jurka

In response to


pgsql-jdbc by date

Next:From: tgutierrezDate: 2004-07-15 22:34:24
Subject: problema con el backend
Previous:From: Dario V. FassiDate: 2004-07-15 16:39:58
Subject: Re: Very strange Error in Updates

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group