Skip to content
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

<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate #892

Closed
michaelhenry opened this issue Jun 4, 2023 · 1 comment

Comments

@michaelhenry
Copy link

michaelhenry commented Jun 4, 2023

Summary.

It throws this error <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate.

What you expected.

urllib.request.urlopen should succeed.

What happened instead.
it unable to fetch the JWKSet

Reproduction Steps

self.signing_key = self.jwks_client.get_signing_key_from_jwt(self.token)

System Information

$ python -m jwt.help
{
  "cryptography": {
    "version": "41.0.1"
  },
  "implementation": {
    "name": "CPython",
    "version": "3.11.2"
  },
  "platform": {
    "release": "21.6.0",
    "system": "Darwin"
  },
  "pyjwt": {
    "version": "2.7.0"
  }
}

This command is only available on PyJWT v1.6.3 and greater. Otherwise,
please provide some basic information about your system.

@michaelhenry
Copy link
Author

closing this ticket as #891 is now merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant