jenkinsci / xray-connector-plugin

Xray Test Management Connector for Jenkins
https://plugins.jenkins.io/xray-connector/
MIT License
16 stars 13 forks source link

Support use of client certificates #70

Open joerg1985 opened 1 year ago

joerg1985 commented 1 year ago

What feature do you want to see added?

We are trying to connect to a secured jira instance, to connect a client certificate must be provided. We uploaded the pfx12 file to the jenkins credentials, but we are not able to select the certificate in the list of credentials.

I guess there is no support for client certificate in the plugin, please provide client certificate support, to allow us to connect to the server via client certificate (with optional support for additional credentials like user/password or oauth).

Upstream changes

No response

joerg1985 commented 1 year ago

Setting the system properties like javax.net.ssl.keyStore, javax.net.ssl.keyStorePassword, ... does not help.

In case the plugin is internally using the Apache HttpClient, it might help to replace the HttpClients.createDefault() call with HttpClients.createSystem() to get the system properties working, see docs.