Fix SSL-cert issue

This commit is contained in:
Кокос Артем Николаевич
2026-01-20 10:19:41 +07:00
parent e412bb7446
commit c0300e71fb
2 changed files with 15 additions and 1 deletions

View File

@@ -61,3 +61,16 @@ isort .
```
> 🔒 Never commit `.env` or credentials!
### Production SSL Setup (for internal Redmine)
If you get `CERTIFICATE_VERIFY_FAILED`, your corporate CA is not trusted by Python's `certifi`.
Fix it once per environment:
```bash
source .venv/bin/activate
cat /etc/ssl/certs/ca-certificates.crt >> $(python -m certifi)
```
> This appends system CA bundle to Python's certificate store. Safe and secure.