The error when accessing HTTPS resources via httpx of:
[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate
can be resolved by adding the truststore module to use the machine's local certificate store:
https://pypi.org/project/truststore/
E.g.:
import truststore
truststore.inject_into_ssl()
The error when accessing HTTPS resources via
httpxof:can be resolved by adding the
truststoremodule to use the machine's local certificate store:https://pypi.org/project/truststore/
E.g.: