dockerize icon indicating copy to clipboard operation
dockerize copied to clipboard

Error "x509: failed to load system roots and no roots provided" when waiting on a https

Open frnhr opened this issue 6 years ago • 2 comments

Running directly from the docker image, I'm getting an unexpected error:

$ docker run --rm jwilder/dockerize dockerize -wait https://www.google.com
2019/08/15 14:59:07 Waiting for: https://www.google.com
2019/08/15 14:59:07 Problem with request: Get https://www.google.com: x509: failed to load system roots and no roots provided. Sleeping 1s
2019/08/15 14:59:08 Problem with request: Get https://www.google.com: x509: failed to load system roots and no roots provided. Sleeping 1s
...

Am I using it wrong?

frnhr avatar Aug 15 '19 15:08 frnhr

Same here. The docs are missing how to provide the needed root certificates or how to skip cert validation.

tkrah avatar Jan 25 '22 17:01 tkrah

is there any to way to skip cert validation

Prashantpv avatar Oct 02 '22 13:10 Prashantpv