AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
25.52k stars 1.83k forks source link

How to use self-signed cert, inc. for IP #3275

Open ammnt opened 3 years ago

ammnt commented 3 years ago

Hello,

please add documentation on how to use a self-signed certificate and separately how to use a self-signed certificate for an IP address rather than a domain. To be like this: https://1.1.1.1/dns-query https://8.8.8.8/dns-query https://[AGH_SERVER_IP]/dns-query

Thank you. Cheers🎃

Night1 commented 3 years ago

You need to issue a certificate like any self signed and apoint it to correct place .

1.1.1.1 and 8.8.8.8 a are public PKI .

https://crt.sh/?id=4966456376

Since Google / CF owns those IPs in IANA db they can issue from digicert. you will not be able to do that without owning IPs.