Skip to content

[SSL: CERTIFICATE_VERIFY_FAILED] on example site #103

Open

Description

@erischon

Hi,

I can't anymore use the example site.

urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: certificate has expired (_ssl.c:1129)>

Can you renewal the certificate ? ;)

Thx,


To bypass the problem I use requests not urlllib :

  • requests.get("url", verify=False) instead of urlopen()
  • BeautifulSoup(html.content, 'html.parser') instead of BeautifulSoup(html.read(), 'html.parser')

Activity

  1. JosephWhang commented on Dec 18, 2021

    @JosephWhang
  2. REMitchell commented on Dec 18, 2021

    @REMitchell
    Owner

    @erischon Hi -- thanks for the heads up! Re-issued the certificate and tested, looks good now :)

  3. gitchegumee11 commented on Apr 15, 2024

    @gitchegumee11

    Hi Ryan,

    The Chapter 4 scripts don't work for me unless I import ssl and create unverified context. Can you help with why this is happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions