Re:Ask HN: What's your solution for SSL on internal servers?
by viovanov on Wednesday February 09, 2022 @08:45AM
(#30272515)
I thought Let's Encrypt wouldn't give you a cert if the domain on the cert resolves to a private IP. Good to know - thx.
[ Parent
| on HN ]
Re:Ask HN: What's your solution for SSL on internal servers?
by throwaway22032 on Wednesday February 09, 2022 @08:48AM
(#30272541)
You just resolve the domain to a private IP on your internal network, Let's Encrypt can see it as whatever you want, for all they care it's 1.1.1.1.
Re:Ask HN: What's your solution for SSL on internal servers?
by larcher on Wednesday February 09, 2022 @09:01AM
(#30272689)
Friendly reminder that 1.1.1.1 is a real, valid, public IP.
Seen plenty of networks that don’t recognize this, use it for some internal purpose, and break https://1.1.1.1/
Re:Ask HN: What's your solution for SSL on internal servers?
by wolrah on Wednesday February 09, 2022 @10:22AM
(#30273637)
> Seen plenty of networks that don’t recognize this, use it for some internal purpose, and break https://1.1.1.1/
AFAIK Cisco used 1.1.1.1 as an example "dummy" IP in their wireless LAN controller documentation, which of course led to infinite idiots copy/pasting exactly that and setting up broken networks.
Re:Ask HN: What's your solution for SSL on internal servers?
by throwawayninja on Wednesday February 09, 2022 @12:11PM
(#30275096)
My college uses 1.1.1.1 as their iis administration endpoint, I was told the reason was "nobody would guess it so it reduces the number of dumb kids guessing the edu\Administrator domain password". Around the time cloudflare started using it their logs must have skyrocketed.
Re:Ask HN: What's your solution for SSL on internal servers?
by saxonww on Wednesday February 09, 2022 @09:08AM
(#30272746)
They don't seem to check whether the hostname you're requesting a cert for resolves. At least with certbot, it requests the cert, creates the challenge record, then removes it after receiving the signed cert.
Re:Ask HN: What's your solution for SSL on internal servers?
by akerl_ on Wednesday February 09, 2022 @08:49AM
(#30272550)
I’ve got a ton of certs from LE where the IP resolves to an RFC 1918 IP
Re:Ask HN: What's your solution for SSL on internal servers?
by bryanlarsen on Wednesday February 09, 2022 @08:49AM
(#30272548)
You can, but you might not want employeerecords.example.com leaking its IP address, even if it is an inaccessible 192.168.10.10. Defense in depth. You can use hosts or internal resolution.