iamjackg / md2cf

Convert and upload Markdown documents to Confluence
MIT License
93 stars 52 forks source link

certificate verify failed: self signed certificate in certificate chain #21

Closed kordia-mgnt closed 2 years ago

kordia-mgnt commented 2 years ago

Possible solve Ref

md2cf --host 'https://confluence.********.com/rest/api' --username ************ --password '************' --space TEST document.md
ERROR: HTTPSConnectionPool(host='confluence.kordia.net', port=443): Max retries exceeded with url: /rest/api/content?title=md2cf+test&spaceKey=TEST (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)')))
iamjackg commented 2 years ago

I added an --insecure flag that will skip SSL certificate validation. Can you try version 1.2.0 and let me know if it solves your problem?

iamjackg commented 2 years ago

Hey @kordia-mgnt, I'm gonna assume this is solved. If anything's wrong, feel free to open another issue!