Skip to content

Certificate issues - possible solution #273

@jeremygibbonsal

Description

@jeremygibbonsal

Hi Ed,

Thanks for the great content.

As I am following this course on a corporate laptop with various security tools on it - and particularly ZScaler which filters web content and perfoms TLS decryption - I encountered the dreaded TLS certificate validation issues when executing the first notebook... and have a solution which is less drastic than completely disabling certificate validation per your diagnostic notebook.

Specifically, I added "pip_system_certs>=5.2.0" to the list of packages in pyproject.toml. This package essentially allows various Python components to leverage the Windows certificate stores to validate TLS certs / HTTPS connexions. In cases like mine this helps because the ZScaler certificate is present in the Windows cert store, but not visible to Python out-of-the-box. I then did a "uv sync" and the week 1 notebook immediately started working with no other changes.

Thanks,
Jeremy Gibbons
Air Liquide

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