Re: [PATCH] New SSL Socket Factory With Certificate Validation - Mailing list pgsql-jdbc

From Sehrope Sarkuni
Subject Re: [PATCH] New SSL Socket Factory With Certificate Validation
Date
Msg-id CAH7T-arF7HMT28NorOSEo0bzLZ-UhSUO4q4csoyNU6UxX11tOA@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] New SSL Socket Factory With Certificate Validation  (Sehrope Sarkuni <sehrope@jackdb.com>)
List 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.

pgsql-jdbc by date:

Previous
From: "Vinay S (vinas)"
Date:
Subject: Re: JDBC executeBatch() hangs without error
Next
From: "CISS Moussa"
Date:
Subject: ERROR: cached plan must not change