AdguardTeam / dnsproxy

Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support
Apache License 2.0
2.43k stars 247 forks source link

Add a way to use your own certificate authority file/directory #416

Open cminyard opened 2 months ago

cminyard commented 2 months ago

Add a way to specify your own CA instead of using the one from the system. Much like the "+tls-ca" option to dig.

cminyard commented 1 month ago

BTW, I know that you can set the SSL_CERT_FILE or SSL_CERT_DIR environment variables on Linux, but that is not as clear or reliable as a direct parameter. The environment variables don't work on MacOS. I don't know if they work on Windows.

So a command line option or configuration file option is still much preferred.