AdguardTeam / AdguardTeam/dnsproxy

"Unknown certificate authority" with upstream DOH server on Windows

Open
#400 0 comments 2 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
3.3k
Forks
343
PR merge metrics
No merged PRs in 30d

Description

I am trying to run a DoT proxy on Windows and execute dnsproxy with the following command:

dnsproxy -t 853 -u https://cloudflare-dns.com/dns-query --http3 --insecure --tls-crt=server.crt --tls-key=server.key --cache --cache-min-ttl=600

The `server.crt` and `server.key` files are converted from an IIS website *.PFX format certificate.

However, I always encounter the following error:

ERROR reading msg prefix=dnsproxy proto=tcp err="reading len: remote error: tls: unknown certificate authority"

The IIS certificate was issued by Let’s Encrypt, and I have installed the ISRG Root X1 as a Trusted Root CA, but it still doesn’t work. This seems to be a Windows-only bug, as it works fine on Linux.

Any ideas?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.