Connecting to Confluence via Python: SSL error

I’m trying to connect via the api to our Confluence server.

when i try to connect, i get this error:

[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)

to solve this, when i have been connecting to the bitbucket api, i am using

config='http.sslVerify=false'.

i have been trying to find something like that for the Confluence api, but the only things i can find are for Jira, which suggests using

options={'verify': False}

in the constructor, but that doesn’t seem to work for the Confluence constructor.

does anyone have any advice about this? my project is dead in the water if i can’t make the connection.

thank you,
-timothy