Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 16921

SSL: CERTIFICATE_VERIFY_FAILED certificate verify failed : self signed certificate in certificate chain (_ssl.c:992)

$
0
0

I am using python to make a get request to jira cloud rest api to get details of an issue, but getting this SSL verification failed error message, I am using this script

import requestsimport jsonurl = "https://your-domain.atlassian.net/rest/agile/1.0/issue/{issueIdOrKey}"headers = {"Accept": "application/json","Authorization": "Bearer <access_token>"}response = requests.request("GET",   url,   headers=headers)print(json.dumps(json.loads(response.text), sort_keys=True, indent=4, separators=(",", ": ")))

error message-

requests.exceptions.SSLError:HTTPSConnectionPool('host=your-domain.atlasian.net', port=443): Maxretries exceeded with url: /rest/agile/1.0/issue/{issueIdOrKey}(caused by SSLError(SSLCertVerificationError(1, '[SSL:CERTIFICATE_VERIFY_FAILED] certificate verify failed : self signedcertificate in certificate chain (_ssl.c:992)')))

Suggest me possible ways to resolve this issue.Thank you!


Viewing all articles
Browse latest Browse all 16921

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>