Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Problem

jwt.exceptions.PyJWKClientConnectionError: Fail to fetch data from the url, err: "<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:992)>"

Solution

Python does not rely on MacOS' openSSL anymore. It comes with its own openSSL bundled and doesn't have access on MacOS' root certificates.

Panel
bgColor#fff
Run an install command shipped with Python
  1. Execute the command 
    1. Code Block
      cd /Applications/Python\ 3.11/./Install\ Certificates.command
      Info

      You may need to give write access to the folders

      • /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/certifi/
      • /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/certifi-2023.5.7.dist-info

      Or the version in your current sistem

Content by Label
showLabelsfalse
max5
spacesSEARCHAPI
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel = "kb-troubleshooting-article" and type = "page" and space = "SEARCHAPI"
labelskb-troubleshooting-article

Page properties
hiddentrue
Related issues