4 ms·
It's not easy but iirc you can do it with a DNS-01 challenge, if your internal domain name is valid (doesn't have to resolve to anything though).
by benoliver999 7y ago
It's not easy but iirc you can do it with a DNS-01 challenge, if your internal domain name is valid (doesn't have to resolve to anything though).
- BrandoElFollito 7y agoThe problem is that I also have domains which are completely internal, not known/resolvable outside
- cheschire 7y agoCould you run an internal CA server instead of self signing? At least then you reduce your attack surface if you’re compromised internally.
- BrandoElFollito 7y agoYes, this is what is being done today. My point was that HTTPS is (much) more complicated than bare HTTP and this is probably one of the reasons it is not taking over the web in a storm (though progress is undoubtedly there)
- tialaramex 7y agoThis is probably a bad idea and I'd recommend migrating off such names as a background task. Realistically you can't entirely deconflict these names. So you always have a risk of shadowing names from the public Internet. The public CAs spent years in denial over this (yes they used to sell publicly trusted certs for "private" names, this is now prohibited). Create internal.example.com and things get easier. To the extent security by obscurity is worth trying it's just as available this way (split horizon DNS etcetera)
- lixtra 7y ago> Realistically you can't entirely deconflict these names. So you always have a risk of shadowing names from the public Internet. It's totally save and legitimate for ycombinator to use secret.ycombinator.com on their intranet without telling anything about it to the outside internet.
- tialaramex 7y agoThose are names you own, and a CA will happily issue you certs for those names (but Let's Encrypt won't without a DNS record saying the name at least exists) The grandparent was, as I understand it, talking about names they don't own, for which you've no assurance somebody else won't own them (on the public Internet) tomorrow. This used to be very common, decades ago Microsoft even advised corporations to do it for their AD, but it's a bad idea.
- kuschku 7y agoWhat's with domains such as blubb.mysystem.local or foo.invalid? .invalid and .local are reserved domains and guaranteed to never be in use on the public internet - yet I can't get certificates for them
- zurn 7y agoIf you could get certificates for them, so could anyone else including your adversaries, since there is no system of ownership for them. It would be like issuing certs for https://192.168.1.1 https://192.168.1.1
- kuschku 7y agoActually that's why browsers already treat http://127.0.0.1/ http://127.0.0.1/ and certain other local IPs as if it was via https. For all local IP and domain space - that is 192.168/16, 10/8 and so on - it should automatically treat them as if they were safe anyway.
- zurn 7y agoThey're likely be part of a cafe/hotel/guest wlan or a poorly managed "intranet" full of vulnerable stuff that needs to be shielded from CSRF. That's in addition to having ambiguous addresses. So should definitely be treated as less safe.