-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CERTIFICATE_VERIFY_FAILED #40
Comments
I had that after installing Python3 - I needed to import the SSL certificates locally (via batch script that came with the Python3 release) and then it worked fine |
Hello @cristian5th, can you tell the exact Python version? I know there are some SSL problems with older 2.7.x versions (see #16), so maybe there are also differences regarding SSL between different 3.7.x versions? You can find the exact version with |
Hi @pe-st It is Python 3.7.3. To be perfectly clear, it is the Python version that comes with Mac OS Catalina. I mean, they must come both preinstalled, 2.7.16 and 3.7.3, because I havent installed none of them and here they are both. Unless the version 3 was installed via another software and I didn't noticed. @pEwenM , can you elaborate on the certificate import script that you are talking about? Where should I go look for it? Thank you. |
@cristian5th I'm also on MacOS. Googling directed me to |
Hmmm. Something strange is happening here @pEwenM I do not have a Python3 folder. The executable is found directly under /usr/bin/python3, and there is nothing similar to what you mention. I will investigate the Catalina clue. This must be something done by Apple. |
@cristian5th I'm on Catalina 10.15.4 and installed Python 3.8 myself via the GUI not terminal command line. I've got the executable in /usr/bin/python3 like you, but I also have /Applications/Python 3.8/Install Certificates.command which I ran to resolve the issue. |
@pEwenM, I haven't installed Python 3.7. It already came with Catalina and I am missing the Python copy that you have at the Applications folder, and therefore I don't have the Install Certificates.command that you have. I have been looking around and it seems that the Python 3.7 being delivered with Catalina is not the real thing. I cannot explain what is missing but it seems to me that many dependencies are missing. I ended up installing Python 3.8.2 and the garmin-connect-export script is now working like a charm out of the box. I didn't had to import any certificate locally. Consequently, this was not a real issue from the script. Thanks all for your help. |
Hello all.
I'm finding an SSL certificate issue only when executing the script with Python 3. If I execute it with Python 2, then there is no problem at all.
This is the complete error message I'm getting:
I wonder if the issue could be because of some module dependency that I'm missing in Python 3.
Somebody has any idea about how to proceed?
Thank you. Best regards.
The text was updated successfully, but these errors were encountered: