Add Windows and MacOS native certificate support
Add three new SSLSocketFactory implementations to support native keystores on Windows and Mac.
org.postgresql.ssl.MSCAPILocalMachineSSLFactory org.postgresql.ssl.MSCAPISSLFactory org.postgresql.ssl.KeychainSSLFactory
Add the sslsubject parameter to limit the chosen certificate where more than one certificate might match for a given connection.
All Submissions:
- [x] Have you followed the guidelines in our Contributing document?
- [x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
New Feature Submissions:
- [x] Does your submission pass tests?
- [x] Does
./gradlew styleCheckpass ? - [x] Have you added your new test classes to an existing test suite in alphabetical order?
Changes to Existing Features:
- [ ] Does this break existing behaviour? If so please explain.
- [x] Have you added an explanation of what your changes do and why you'd like us to include them?
- [x] Have you written new tests for your core changes, as applicable?
- [x] Have you successfully run tests with your changes locally?
Would it be possible to approve the workflows outstanding on this PR?
Would it be possible to approve the workflows outstanding on this PR?
Yes, sorry. I should have realized they weren't running
Another gentle bump - is it possible to trigger workflows?
sorry about that
@minfrin You can enable actions to run on your pgjdbc fork as well. This is particularly useful if you want to try running something in CI without opening a PR in this repo. The GitHub Actions should work with no issues on your fork. The Windows / AppVeyor stuff is a bit finicky but in theory should work if you set up an account there as well.
(Note that I'm not suggesting opening this PR and running the CI on pgjdbc/pgjdbc was a bad idea ... I'm just suggesting an alternative for the future if you're trying out something else)
@minfrin I took the liberty of fixing the checker errors
@minfrin I took the liberty of fixing the checker errors
Much appreciated, thank you.