Re: [PATCH] New SSL Socket Factory With Certificate Validation

From: Sehrope Sarkuni <sehrope(at)jackdb(dot)com>
To:
Cc: List <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: [PATCH] New SSL Socket Factory With Certificate Validation
Date: 2013-09-28 17:19:08
Message-ID: CAH7T-arF7HMT28NorOSEo0bzLZ-UhSUO4q4csoyNU6UxX11tOA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

I've created a new patch for this SSL socket factory and submitted a new
pull request to the GitHub project for the JDBC driver[1].

The new patch integrates with the existing test config for the project and
is run via ant. By default the tests are disabled but you can enable them
by uncommenting a line in ssltests.properties (similar to the rest of the
SSL tests).

To run the tests you'll need a database server configured with a known
server certificate as described in certdir/README. To make things easier I
created a Vagrant config for a VM for testing[2] that automates the setup
(I sent a note about it two weeks ago to this list). You can use it for
testing this patch or any other part of the JDBC driver.

More details about both the patch and the test VM are in the pull request
and it's repo's README respectively.

Let me know if anybody has any questions.

Regards,
-- Sehrope Sarkuni

[1]: https://github.com/pgjdbc/pgjdbc/pull/88
[2]: https://github.com/jackdb/pgjdbc-test-vm

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message CISS Moussa 2013-09-30 10:03:34 ERROR: cached plan must not change
Previous Message Vinay S (vinas) 2013-09-26 18:14:10 Re: JDBC executeBatch() hangs without error