-
-
Notifications
You must be signed in to change notification settings - Fork 874
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL certificate verification error while authenticating into JIRA server #966
Comments
Have you tried doing options={"verify" : False} ? e.g. j = jira.JIRA("<server_url>" , options={"verify" : False } ) |
@dstarizny, yes, I did try that option but it didn't work for me as it seems that the certificate verification cannot be ignored in my case. |
running into this as well, |
Looks like JIRA made some changes related the authentication: |
Thank you Shane.
This is not available option on our Jira instance. I don't know what to do,
our company is not using Cloud based JIRA.
Please advise.
Thanks and Regards,
Srinu Balsu
…On Tue, Nov 17, 2020 at 12:45 AM Shane Wang ***@***.***> wrote:
Looks like JIRA made some changes related the authentication:
Deprecation notice - Basic authentication with passwords and cookie-based
authentication
<https://developer.atlassian.com/cloud/jira/platform/deprecation-notice-basic-auth-and-cookie-based-auth/>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#966 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFKKI5A5G74FLEYSGFSKYATSQISY7ANCNFSM4QTEJSOQ>
.
|
Also running into this. As @iodbh has said above, I had to manually change the code in I replaced |
SSL certificate verification was being done even when 'verify' was set to False. Now the parameter is explicitly passed to the request, avoiding this bug.
As per suggested in this issue #339, I was expecting to be able to pass the certificate bundle as a value of I also tried to pass the certificate path via |
@jserafim if you have a fix for it, please merge in last master changes (CI got fixed) and open a PR so this issue can be solved |
Still got this error |
Don't suppose you can give this a try again with the latest RC or main? |
@jserafim @corrantho , don't suppose you can try the branch for #1202, I think it may address the issue |
Hi Community,
While trying to authenticate into JIRA server using python library for interacting with JIRA via REST APIs, I get the following error:
WARNING:root:Got recoverable error from GET https://corporate.domain.com/rest/api/2/serverInfo, will retry [1/3] in 8.16608003441684s. Err: HTTPSConnectionPool(host='jerry.wincor-nixdorf.com', port=443): Max retries exceeded with url: /rest/api/2/serverInfo (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)')))
WARNING:root:HTTPSConnectionPool(host='corporate.domain.com', port=443): Max retries exceeded with url: /rest/api/2/serverInfo (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1108)'))) while doing GET https://corporate.domain.com/rest/api/2/serverInfo [{'params': None, 'headers': {'User-Agent': 'python-requests/2.24.0', 'Accept-Encoding': 'gzip, deflate', 'Accept': 'application/json,.;q=0.9', 'Connection': 'keep-alive', 'Cache-Control': 'no-cache', 'Content-Type': 'application/json', 'X-Atlassian-Token': 'no-check'}}]
OS: Windows 10;
python: 3.8.0
JIRA (Jira-python library package): 3.0.a2
Please also suggest whether the rest api endpoint used is correct!
PS: I sit behind a corporate network
Thanks in advance,
Anush
The text was updated successfully, but these errors were encountered: