I've got an SSL error message when I try to use your excellent code from a gitlab pipeline.
It seems that I need to pass cacert as parameter.
Does this feature exist ?
Test done :
Without your library and directly with CURL I can reach my confluence. So I think that my issue root cause is the absence of SSL/CACERT in your example.
For instance :
This curl request send my well informations. Whereas, if I suppress the --cacert option, I've got the same SSL error message.
Error message from my gitlab pipeline :
requests.exceptions.SSLError: HTTPSConnectionPool(host='myconfluence.com', port=443): Max retries exceeded with url: /rest/api/content?title=Home&spaceKey=TDF&expand=history (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)')))
Dear,
I've got an SSL error message when I try to use your excellent code from a gitlab pipeline. It seems that I need to pass cacert as parameter. Does this feature exist ?
Test done :
Without your library and directly with
CURL
I can reach my confluence. So I think that my issue root cause is the absence of SSL/CACERT in your example. For instance :This curl request send my well informations. Whereas, if I suppress the
--cacert
option, I've got the same SSL error message.Error message from my gitlab pipeline :
A lot of thanks for your support.