pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mikko Tiihonen <mikko.tiihonen@nitorcreations.com>
To: pgsql-jdbc@postgresql.org
Subject: SslTests failures
Date: Tue, 22 Nov 2011 21:34:03 +0200
Message-ID: <4ECBF92B.2070906@nitorcreations.com> (raw)

Hi,

I'm trying to run the SslTests but get 88 failures. It is probably something I set up wrong in the environment.

The following tests fail:

sslhostnossl[89]-requireG*
sslhostnossl[89]-verify-caGG*
sslhostnossl[89]-verify-fullGG*

sslhostsslgh[89]-disable*
sslhostsslbh[89]-disable*

sslhostcertgh[89]-disable*
sslhostcertbh[89]-disable*

sslcertgh[89]-disable*
sslcertbh[89]-disable*

All of them fail with unexpectedly successful connection (meaning: test expected connection opening to fail but it succeeded).

Here is a patch to the ssltest documentation describing how I have tried to set-up the environment.


inline patch 1: certdir/README (+8/-0 lines) download inline-1.patchIndex: certdir/README =================================================================== RCS file: /cvsroot/jdbc/pgjdbc/certdir/README,v retrieving revision 1.1 diff -u -r1.1 README --- certdir/README 17 Nov 2011 11:27:50 -0000 1.1 +++ certdir/README 22 Nov 2011 19:29:27 -0000 @@ -42,3 +42,11 @@ The subdirectory server contains what should be copied to the PGDATA directory. For the tests the sslinfo module must be installed into every database. +The ssl=on must be set in postgresql.conf + +The following command creates the databases and installs the sslinfo module. + +for db in hostssldb hostnossldb certdb hostsslcertdb; do + createdb $db + psql $db -c "create extension sslinfo" +done

view thread (3+ messages)  latest in thread

Message-ID: <4ECBF92B.2070906@nitorcreations.com>
Permalink:  ../4ECBF92B.2070906@nitorcreations.com/
Also on:    postgresql.org/message-id/4ECBF92B.2070906@nitorcreations.com

 ·  · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: mikko.tiihonen@nitorcreations.com
  Subject: Re: SslTests failures
  In-Reply-To: <4ECBF92B.2070906@nitorcreations.com>
  References: <4ECBF92B.2070906@nitorcreations.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox