# Error: ssl handshake failed

**URL:** <https://community.ipfire.org/t/error-ssl-handshake-failed/11255>\
**Category:** DNS\
**Created:** [7 March 2024 18:43 UTC](https://community.ipfire.org/t/error-ssl-handshake-failed/11255 "2024-03-07T18:43:59Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![peppetech](https://community.ipfire.org/user_avatar/community.ipfire.org/peppetech/32/12711_2.png) [@peppetech](https://community.ipfire.org/u/peppetech)\
**Post date:** [7 March 2024 18:43 UTC](https://community.ipfire.org/t/error-ssl-handshake-failed/11255/1 "2024-03-07T18:43:59Z")

</div>

I am looking at the Unbound log from recent past and I see this error showing for 7 whole days in January.

```auto
unbound: [3610:0]	error: ssl handshake failed crypto error:0A000086:SSL routines::certificate ver ify failed
unbound: [3610:0]	notice: ssl handshake failed 5.9.164.112 port 853

```

---

<div class="post-metadata">

**Author:** ![mumpitz](https://community.ipfire.org/user_avatar/community.ipfire.org/mumpitz/32/15450_2.png) [@mumpitz](https://community.ipfire.org/u/mumpitz)\
**Post date:** [7 March 2024 22:12 UTC](https://community.ipfire.org/t/error-ssl-handshake-failed/11255/2 "2024-03-07T22:12:55Z")

</div>

> [@peppetech](#):
>
> `5.9.164.112`

I had the same error with this and other DNS providers.  
Look [here](https://community.ipfire.org/t/list-of-dns-servers/1178) to read which working and why sometimes you get Problems with other.

---

<div class="post-metadata">

**Author:** ![ellygracyia12](https://community.ipfire.org/user_avatar/community.ipfire.org/ellygracyia12/32/13549_2.png) [@ellygracyia12](https://community.ipfire.org/u/ellygracyia12)\
**Post date:** [16 June 2025 07:09 UTC](https://community.ipfire.org/t/error-ssl-handshake-failed/11255/3 "2025-06-16T07:09:11Z")

</div>

I was also seeing the “ssl handshake failed crypto error: certificate verify failed” in my Unbound logs for days. It turned out the issue was due to an expired or untrusted root certificate. I fixed it by updating the system’s CA certificates and making sure DNS-over-TLS was using a valid upstream server with a proper certificate.

I hope it helps!
