Re: [PATCH] New SSL Socket Factory With Certificate Validation
От | Sehrope Sarkuni |
---|---|
Тема | Re: [PATCH] New SSL Socket Factory With Certificate Validation |
Дата | |
Msg-id | CAH7T-arF7HMT28NorOSEo0bzLZ-UhSUO4q4csoyNU6UxX11tOA@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: [PATCH] New SSL Socket Factory With Certificate Validation (Sehrope Sarkuni <sehrope@jackdb.com>) |
Список | 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).
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.
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
В списке pgsql-jdbc по дате отправления: