Skip to content

puller.par fails with SSL: CERTIFICATE_VERIFY_FAILED #351

Description

@calder

On a host with custom CA certs behind a man-in-the-middle'ing firewall, puller.par fails to verify gcr.io's cert and the image pull fails.

puller.par --directory /home/ccoalson/.cache/bazel/_bazel_ccoalson/6ee755f59ce88cc5a69b6f20e9174b66/external/cc_image_base/image --name gcr.io/distroless/cc@sha256:7a52af4e4f09c905f2264c99ec75f65481fd132454f3ff4dd06962c99c7dab6e
F0315 14:32:40.860797   14008 __main__.py:125] Error pulling and saving image gcr.io/distroless/cc@sha256:7a52af4e4f09c905f2264c99ec75f65481fd132454f3ff4dd06962c99c7dab6e: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)

Since image integrity is already verified by digest, I don't see much harm in adding an insecure mode where SSL (or at least cert verification) is disabled. Thoughts?

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions