danswer-ai / danswer

Gen-AI Chat for Teams - Think ChatGPT if it had access to your team's unique knowledge.
https://docs.danswer.dev/
Other
9.78k stars 1.09k forks source link

SSL: CERTIFICATE_VERIFY_FAILED issue when adding bookstack connector #1441

Open mfleurisson opened 1 month ago

mfleurisson commented 1 month ago

I have this issue when adding a bookstack connector :

HTTPSConnectionPool(host='mgtvawikina01.infra.acecom.lan', port=443): Max retries exceeded with url: /api/books?count=16&offset=0&sort=%2Bid&filter%5Bupdated_at%3Alte%5D=2024-05-10+09%3A24%3A58 (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self-signed certificate in certificate chain (_ssl.c:1006)')))View Full Trace

Our bookstack instance have it's own certificate signed by our pki. How can i import our rootCA certificate in danswer ?

mfleurisson commented 1 month ago

I have the same issue when i connect danswer to gitlab instance :

HTTPSConnectionPool(host='mgtvagitlabna01.infra.acecom.lan', port=443): Max retries exceeded with url: /api/v4/projects/m.fleurisson%2FPlateforme (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)')))