Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Unknown certificate authority" with upstream DOH server on Windows #400

Open
Mosesofmason opened this issue Jul 7, 2024 · 0 comments
Open

Comments

@Mosesofmason
Copy link

Mosesofmason commented Jul 7, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant