I'm not sure if this is an error with django-hcaptcha-field or something else, but I get the Python error
urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] 1131
when my contact form POSTS. When not using hcaptcha_field, the contact form works.
I tried using this in views.py to disable SSL for tests
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
and clears the error CERTIFICATE_VERIFY_FAILED and the form works, but hcaptcha throws an error on the form.
I'm using Django 4.0.3, Python 3.8 on Ubuntu 20.04
I've force updated the Let's Encrypt SSLs and installed pip install certifi
Is this an issue with the SSL on my server, the way django-hcaptcha-field uses it, or an issue with hCaptcha's SSL?