federico123579 / XTBApi

Api for XBT trading platform.
MIT License
63 stars 30 forks source link

ssl.SSLCertVerificationError Localhost #9

Open KamilZajac opened 2 years ago

KamilZajac commented 2 years ago

Is there a way to use this client on localhost? I keep having: ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1091)

SaraStemPro commented 2 years ago

Solution: If you're using macOS go to Macintosh HD > Applications > Python 3.9 folder (or whatever version of python you're using) > double click on "Install Certificates.command" file Solution here All the best!