# Certificate error when pulling images

**URL:** <https://forums.docker.com/t/certificate-error-when-pulling-images/23411>\
**Category:** General\
**Created:** [October 14, 2016, 7:26am UTC](https://forums.docker.com/t/certificate-error-when-pulling-images/23411 "2016-10-14T07:26:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![orangetalent](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/orangetalent/32/13925_2.png) [@orangetalent](https://forums.docker.com/u/orangetalent)\
**Post date:** [October 14, 2016, 7:26am UTC](https://forums.docker.com/t/certificate-error-when-pulling-images/23411/1 "2016-10-14T07:26:29Z")

</div>

Hi everyone,

When trying to pull a image from the docker hub, I am recieving some weird errors. The specific error that the docker daemon returns is:

“Error getting v2 registry: Get [https://registry-1.docker.io/v2/:](https://registry-1.docker.io/v2/:) x509: certificate signed by unknown authority”

The weird thing is that running “docker search x” runs fine and returns what was expected. Also curling the page(curl -vL [registry-1.docker.io](http://registry-1.docker.io)) and running the openssl s\_client(openssl s\_client -connect [registry-1.docker.io:443](http://registry-1.docker.io:443)) doesn’t return any certificate errors.

I am not behind a corperate proxy or anything like that. I’ve tried a lot of solutions like adding certs to the /etc/docker/certs.d directory, rebooting my machine, and almost everything that google searches suggested.

My docker version:  
Client:  
Version: 1.12.2  
API version: 1.24  
Go version: go1.6.3  
Git commit: bb80604  
Built: Tue Oct 11 17:00:50 2016  
OS/Arch: linux/amd64

Server:  
Version: 1.12.2  
API version: 1.24  
Go version: go1.6.3  
Git commit: bb80604  
Built: Tue Oct 11 17:00:50 2016  
OS/Arch: linux/amd64

Thanks!

---

<div class="post-metadata">

**Author:** ![estebmaister](https://sea3.discourse-cdn.com/docker/user_avatar/forums.docker.com/estebmaister/32/33575_2.png) [@estebmaister](https://forums.docker.com/u/estebmaister)\
**Post date:** [March 11, 2022, 4:36pm UTC](https://forums.docker.com/t/certificate-error-when-pulling-images/23411/2 "2022-03-11T16:36:08Z")

</div>

I’m having the same error with the most recent version of docker 20.10.13 😕
