Forums

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

Self-Signed certificate error while generating oAuth Tokens for JIRA

Pranay Verma
Contributor
June 8, 2020

Hi Community,

I'm trying to setup oAuth for a user in my project, for fetching data from JIRA.
I've been essentially following the steps mentioned in this official link : https://pypi.org/project/jira-oauth-generator/#description. 
However, I've not been able to quite get past running the code  jira_oauth_token_generator.py which essentially creates the tokens for oAuth. I know there's a self-signed certificate for my organization's JIRA setup which is something I can't change, so I just wanted to know, is there any way by which I can surpass this certificate check? If anyone has encountered and resolved such an error before, it'd be of great help.

Regards,

Pranay.

1 answer

1 accepted

0 votes
Answer accepted
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 12, 2020

Hello @Pranay Verma ,

This question has been created for Jira Cloud Free, but since I can read you are using a self-signed certificate I believe this is for Jira Server. Can you kindly confirm this?

Also, if this is the case, and if the issue you are facing is that the self-signed certificate you use for Jira is not trusted by the Python app you are using, then all you have to do is to add the same self-signed certificate to certificate bundle used by python on the machine running the app. 

For further information please see:

 

Finally, for the future, please notice that this is not the best place to get help on development  related questions. The right resources are listed in https://developer.atlassian.com/resources. 

Specifically:

 

Cheers,
Dario

Pranay Verma
Contributor
June 15, 2020

Hi @Dario B ,

Thanks for the response, managed to add the certificate to the certificate file used by Python and it fixed this. Yes it's being used for JIRA server.

Cheers,

Pranay

Like Dario B likes this
Dario B
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 16, 2020

I am happy to know this helped @Pranay Verma ! 

I am accepting my answer so that this thread will be marked as resolved.

 

Cheers,
Dario

Like Pranay Verma likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events