Under setting turn off "SSL certificate verification"
SSLError(SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed'
Example from here: https://developer.atlassian.com/cloud/confluence/rest/#api-space-get
...
Add "verify=False
" to ignore the SSL certificate