getting error '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issue

angel acosta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 10, 2024

I am getting this error when trying to update wiki:

 

'[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:997)'

 

Do I need a certificate?

Could I use a token?

2 answers

0 votes
Radek Dostál
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 14, 2024

The Confluence site does not have a valid SSL certificate - probably it has expired, you likely should see the same problem in browser, or something similar along these lines.

Something similar to https://stackoverflow.com/questions/70236730/ssl-sslcertverificationerror-ssl-certificate-verify-failed-certificate-verif and https://stackoverflow.com/questions/15445981/how-do-i-disable-the-security-certificate-check-in-python-requests but we can only guess without actually inspecting the certificate that's there.

It's not a Confluence question as much as it is about SSL certificates / system admin kind of stuff. You should be able to confirm the same problem in a browser, and contact the team that manages that site to fix the cert.

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 10, 2024

Hi Angel - Welcome to the Atlassian Community!

No, you shouldn't need to do anything with the certificate. What browser are you using? Have you tried another browser? 

angel acosta
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 12, 2024

I am soy for no being more specific:

 

I am updating the wiki via python script using the rest api:

 

https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content/#api-group-content

 

Even when I just do a get content, I get the certificate error.

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 13, 2024

Are you using Data Center or Cloud? 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events