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?

4 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.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published 7 hours ago in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

33 views 0 3
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