taskadapter / redmine-java-api

Redmine Java API
Apache License 2.0
269 stars 162 forks source link

Additional functions to enable TLS Client Certificate Authentication #347

Closed rmedinaday closed 4 years ago

rmedinaday commented 4 years ago

The additional functions provide the ability to use Client Certificates for the Redmine HTTPS connection. They are used in addition to Redmine Usernames/API Keys, mostly as a way to restrict access to Redmine to valid Certificate holders.

It was implemented as an extension of the BetterSSLFactory class, and the client certificate is provided as a KeyStore, so certificate containers, formats, etc. are handled on the caller's code and not in redmine-java-api.

rmedinaday commented 4 years ago

Hi @alexeyOnGitHub, I can't set you as Reviewer, so it's just a heads-up that I submitted this PR.

Thanks!

rmedinaday commented 4 years ago

Just a heads-up, I added usage information for this feature to README.md