Skip to content
Advertisement

Tag: jira

Turn off ssl certificate validation for JiraRestClient

I’m trying to connect to my Jira via the atlassian rest api java framework: But this causes a errors: javax.net.ssl.SSLHandshakeException: General SSLEngine problem PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target I think this happens because I use a self-signed certificate for my Jira. Is there a way to turn of certificate validation for

Promise through JSONException

I have the following code with which I’m trying to get all my versions from jira with a jira API: This code thow me an exception that I don’t understand: And if you follow the line where is showing me the reason, is returning me the JSONArray that I need to get in order to achieve my goal. So, the

Advertisement