Earlier quoted context omitted.
SSL certificates contain the name, not the IP. So the IP address can be anything, including internal ones.
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.
Ask HN: What's your solution for SSL on internal servers?
41–50 of 79 posts
Re: Ask HN: What's your solution for SSL on internal servers?
#42Earlier quoted context omitted.
It appears to me the issue is browser warning dialogs that imply it is always very dangerous. There should be either more context explained in those dialogs or a recognition of/mode for sites that are supposed to be self signed.
(Untested idea) I'd suggest creating your own Root CA with an expire-date far in the future. Install it's public key as a trusted certificate and all derived certificates should not prompt any issues anymore
This becomes a nightmare, when the original admin in the org is gone long times ago.
Re: Ask HN: What's your solution for SSL on internal servers?
#43Earlier quoted context omitted.
not if you use wildcard domain in the cert. LE already support wildcard certs
That's not really ideal either...one copy of the cert that isn't protected well becomes a master key of sorts for someone already inside your internal network.
Re: Ask HN: What's your solution for SSL on internal servers?
#44All it takes is to setup an ACME-DNS server somewhere (or just use author's public ACME-DNS server if you don't care much), and create one CNAME record in your DNS.
Re: Ask HN: What's your solution for SSL on internal servers?
#45Re: Ask HN: What's your solution for SSL on internal servers?
#46Re: Ask HN: What's your solution for SSL on internal servers?
#47Re: Ask HN: What's your solution for SSL on internal servers?
#48 mkcert is a simple tool for making locally-trusted development certificates. It requires no configuration.
Using certificates from real certificate authorities (CAs) for development can be dangerous or impossible (for hosts like example.test, localhost or 127.0.0.1), but self-signed certificates cause trust errors. Managing your own CA is the best solution, but usually involves arcane commands, specialized knowledge and manual steps.
mkcert automatically creates and installs a local CA in the system root store, and generates locally-trusted certificates. mkcert does not automatically configure servers to use the certificates, though, that's up to you.Re: Ask HN: What's your solution for SSL on internal servers?
#49Re: Ask HN: What's your solution for SSL on internal servers?
#50We are using using certbot + cloudflare whis way. There is no HTTP request, certbot makes a temporary DNS record using the Cloudflare API to satisfy the challenge so you can run the script anywhere. Then copy the cert to the device that needs it.
DNS providers supported bycertbot:
https://community.letsencrypt.org/t/dns-providers-who-easily...