mirror of
https://github.com/langgenius/dify-official-plugins.git
synced 2026-07-21 17:45:23 -04:00
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: Hostname mismatch, certificate is not valid for 'xxx.com.cn'. (_ssl.c:1010) #18
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @AllenHu2024 on GitHub (Feb 24, 2025).
Hello I want to know how to use self-signed Cert? For it throws SSLCertVerificationError when set an SSL server name with self signed Cert.
@kubegut commented on GitHub (Mar 6, 2025):
I also encounter the similar issue when I installed
openai_api_compatible-0.0.7plugin in my on-prem dify 1.0.0.It looks like each plugin they will have python certifi module to recognize the CA of accessing endpoint is valid or not.
I can solve this SSL verification problem temporarily by setting CA file in my dify-plugin-daemon container in this path:
/app/storage/cwd/langgenius/openai_api_compatible-0.0.7@f20c7275bbcf055ec5d170dd5128e341986e2dcba5266d08fd080d4bdf2288f6/.venv/lib/python3.12/site-packages/certifi/cacert.pem(Based on the solutions on this dify issue: https://github.com/langgenius/dify/discussions/4600)
However, this package
langgenius-openai_api_compatible_0.0.7.difypkgis compressed or compiled that I cannot setup my CA for this python certifi module.How do I setup custom CA for those public plugin?
Thanks.
@dosubot[bot] commented on GitHub (Aug 16, 2025):
Hi, @AllenHu2024. I'm Dosu, and I'm helping the dify-official-plugins team manage their backlog and am marking this issue as stale.
Issue Summary:
Next Steps:
Thank you for your understanding and contribution!