Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

SSL error when using REST for Jira with JDK 6 ?

Chandan Gupta
Contributor
October 15, 2018

I am trying to use the REST services provided by JIRA. 

I am using JDK 6 and it giving me SSL exception.

It works fine with JDK 8.

2 answers

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 15, 2018

Hard to say without knowing what the "ssl exception" is, but the two options that spring to my mind are

1.  You've imported a certificate it needs into the key store in JDK 8, but not done that for 6.

2.  JDK 8 does not try to use a couple of protocols that JDK 6 will use.  They were dropped because security holes were found.  If your system is working with 8, it's demanding secure protocols, but 6 may be offering the compromised ones and the server is hence refusing them.

Chandan Gupta
Contributor
October 16, 2018

on #2 can you please tell me how we make it compatible ?

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 16, 2018

There are flags you can use to say "don't use these protocols" which would fix it.

But I would not chase that unless you know it is the problem.  What is the "ssl exception" you get and where does it happen?

0 votes
Dave Theodore [Coyote Creek Consulting]
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 15, 2018

Does your Jira instance have a self-signed or internal CA signed SSL certificate? If you're not using a commercial SSL certificate, you will need to import the cert in to the Java keystore on your JDK6. Maybe this was done on your JDK8 and not on JDK6?

Chandan Gupta
Contributor
October 16, 2018

I am using the Oracle JDK and not sure which certs are being used?

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events