Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,362,756
Community Members
 
Community Events
168
Community Groups

Using certificate-based authentication with JIRA REST Java Client Library

Hi, 

I have an existing Jira instance, for which the REST API is protected by certificate-based authentication (this is performed at the Apache front-end level).

I'm writing a Java-based application that is interacting with Jira, and I plan to use the JIRA REST Java Client Library.

How can I use certificate-based authentication with JIRA REST Java Client Library?

 

Regards,

1 answer

1 accepted

0 votes
Answer accepted

I had to change a few lines of code of the Atlassian HttpComponents Java library. Now it loads the certificate for the keystore referenced by the standard  javax.net.ssl.trustStore and javax.net.ssl.trustStorePassword JVM properties.

How could I share my code?

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events