Fix SSL-cert issue
This commit is contained in:
13
README.md
13
README.md
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user