On running pgxn install -> Getting ERROR: network error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

128 Views Asked by At

Installed PGXN using pip install pgxnclient

Tried installing the postgres extension pgxn_utils using PGXN client

On running the command pgxn install pgxn_utils getting the Error:

ERROR: network error: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
1

There are 1 best solutions below

0
Ishaan Adarsh On BEST ANSWER

An answer that worked for me, it appears i had not yet installed the python certificates on my mac, so from the following path i went and installed it

/Applications/Python 3.11/Install Certificates.command

Only change the version of your python, after that everything, worked fine for me