X509 Issues with Docker in Amazon AMI EC2

Expected behavior

I want to type:

sudo docker pull nginx

And have it pull the docker container down.

Actual behavior

If I type:

sudo docker pull nginx

I get:

Using default tag: latest
Pulling repository docker.io/library/nginx
Get https://registry-1.docker.io/v1/repositories/library/nginx/tags/latest: x509: certificate signed by unknown authority

Additional Information

This is running in an EC2 Medium compute instance running in my corporate AWS. I have tried adding the GeoTrust root cert to:

/etc/docker/certs.d/docker.io:443/ca.crt

But that has not helped either. I have reached out to my AWS team and they don’t seem to feel we are using a proxy in this case though i’m trying to get clarification on that. Any help you can give would be greatly appreciated. Im banging my head against the wall on this one.

Thanks,
Ed

I’m guessing this is not using the “Docker for AWS product”?

It may be that Docker is not using a good cert bundle when sending https requests to Docker Hub. Details here: http://richmegginson.livejournal.com/27936.html