horilla icon indicating copy to clipboard operation
horilla copied to clipboard

[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

Open jatinsne opened this issue 9 months ago • 2 comments
trafficstars

Bug Report

While installing on Macbook, [SSL: CERTIFICATE_VERIFY_FAILED] certificate verification failed error occured.

Steps to Reproduce

  1. pip install -r requirements.txt

File "/Library/Frameworks/Python.framework/Versions/3.13/lib/python3.13/urllib/request.py", line 1322, in do_open raise URLError(err) urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1018)>

Screenshots

Image

Environment

  • Django Version: 5.1.5 final
  • Python Version: Python 3.13.1
  • Operating System: Mac OS 15.3
  • Browser: Chrome 132.0.6834.160

jatinsne avatar Feb 04 '25 06:02 jatinsne

Hi @jatinsne ,

Please try with Django 4 rather than Django 5.

If that doesn't help, please install requests==2.31.0 and try again.

With Regards, Team Horilla

horilla-opensource avatar Feb 04 '25 06:02 horilla-opensource

Thank you but same issue.

here are the packages currently installed on venv asgiref==3.8.1 certifi==2025.1.31 charset-normalizer==3.4.1 Django==4.2.18 idna==3.10 requests==2.31.0 sqlparse==0.5.3 urllib3==2.3.0

jatinsne avatar Feb 04 '25 06:02 jatinsne