Jira DVCS, Adding new GitHub Enterprice account fails

I have set up the GitHub OAuth without problems, and Jira shows up in GitHub "Application list". However when I try to add new account (using the same username that have authorized the application), Jira gives me following error:

Error obtaining access token. Cannot access https://myGitHubServer from Jira.

My GitHub uses self signed SSL certificate, which I have added into trusted certs on my Jira server. I followed instructions on https://confluence.atlassian.com/display/JIRA052/Connecting+to+SSL+services

I have cheked that certificate is trusted by using provided SSLPoke.class:

esa@jira:~$ sudo /opt/atlassian/jira/jre/bin/java SSLPoke myGitHubServer 443
Successfully connected

Any ideas what I'm doing wrong?

5 answers

In addition: If I allow http connections (instead of https) to GitHub, then it works as expected. Sadly that solution is out of the question.

Any update on this Esa? I have the same problem, and it's driving me nuts.

No unfortunately. I ended up getting proper certificate signed by CA, and that fixed the problem. That was a lot cheaper than spending any more time to investigate the problem..

I'll have to call Atlassian support. This is really frustrating.

I'm encountering the same error message. Was Atlassian able to help you at all? What was the solution?

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 31, 2018 in Marketplace Apps

Marketplace Spotlight: Zephyr

Hello Atlassian Community! Each month, we run a series of Spotlights to highlight Marketplace vendors and apps that our team thinks this Community would find valuable. In last month's Spotlig...

323 views 0 1
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you