Comfy-Org / Comfy-Org/ComfyUI-Manager

[Bug] SSL: CERTIFICATE_VERIFY_FAILED when installing nodes in ComfyUI Manager (Windows Portable)

Open
#2,076 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
16.1k
Forks
2.5k
Avg merge
5d 4h
Merged PRs (30d)
13

Description

**Describe the bug**
When trying to install missing components or nodes using ComfyUI Manager in the Windows portable version, installation fails with an SSL certificate verification error:

This happens because the embedded Python in `ComfyUI_windows_portable` is not configured to use an up-to-date CA certificate bundle.

---

**Environment:**
- OS: Windows 10/11
- ComfyUI Version: (Portable, NVIDIA build)
- Python: Embedded (comes with ComfyUI portable)

---

**Steps to reproduce:**
1. Use ComfyUI Windows Portable
2. Open ComfyUI Manager
3. Try to install/update a node from CDN (e.g., `cdn.comfy.org`)
4. Installation fails with SSL error

---

**Solution / Workaround:**

The fix is to point the embedded Python to the existing `certifi` CA bundle:

1. Open Command Prompt
2. Run:

setx SSL_CERT_FILE "\python_embeded\Lib\site-packages\certifi\cacert.pem"

3. Restart ComfyUI

---

**Why this works:**
The embedded Python ships with `certifi`, which has a current CA store, but by default it may not be used.
Setting the `SSL_CERT_FILE` environment variable forces Python to use the correct certificate bundle, allowing HTTPS downloads to succeed.

---

**Possible improvement:**
- Have ComfyUI Manager automatically detect and use the `certifi` CA bundle in the embedded Python environment.
- Or bundle updated CA certs by default and point `SSL_CERT_FILE` on startup.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.