News for hackers. Stuff that matters.
Re:Calling time on DNSSEC: The costs exceed the benefits by bruce511 on Saturday June 03, 2023 @12:25AM (#36173696)
>> (e.g. anything where the servers are not connected to the Internet and do not even have every-few-days Internet access

Actually it's possible to use the CA system on a closed LAN.

A) register a domain. For example company-lan.com.

B) assign each server on your Lan with a name and (local) address. Eg, daisy.company-lan.com, resolving to say 192.168.1.1

Clearly this address is only useful when used inside your lan.

C) provision certificates for this address using the DNS-Challenge approach rather than the HTTP-challenge approach.

(Bonus tip; using a DNS provider with a good API makes the process automateable).

Re:Calling time on DNSSEC: The costs exceed the benefits by amluto on Saturday June 03, 2023 @12:31AM (#36173729)
This is why I said “do not even have every-few-days Internet access”. Without some kind of recurring connectivity, certificate renewals are impossible. (The client could, in theory, help, but that’s not a thing right now.)

Systems like this are all over. Almost every IoT device is an example. More seriously, networking hardware is in this category. You can’t make connectivity to networking hardware depend on a working network with Internet access to obtain certificates without introducing a circular dependency and the possibility of making it very hard to recover from downtime.

As a result, security of network control planes is often abysmal.

Re:Calling time on DNSSEC: The costs exceed the benefits by bruce511 on Saturday June 03, 2023 @01:23AM (#36173967)
I'm not clear here if "Internet access" means incoming access, outgoing access, or neither.

To be clear, the solution above requires no incoming access. Its 100% client, there's no server access. (Client to the DNS Api, client to ACME.

If the device does not have client access to anything then the certificate can be obtained from another device. You would then need some mechanism to put the certificate on the device.

I agree that IoT devices are problematic, they either need client access to the Internet (which most don't get) or they need to run a "server" of some kind to receive the certificate updates. If you're lucky this could be automated.

Re:Calling time on DNSSEC: The costs exceed the benefits by fires10 on Saturday June 03, 2023 @04:13AM (#36174707)
I have found it relatively easy to just run a local CA for my isolated network. I didn't find it too difficult to setup. I run around 600 servers and about 20x that in IOT devices.
Re:Calling time on DNSSEC: The costs exceed the benefits by marcthe12 on Saturday June 03, 2023 @05:38AM (#36175131)
Do you have a guide to do that?
Re:Calling time on DNSSEC: The costs exceed the benefits by amluto on Saturday June 03, 2023 @10:24AM (#36176938)
And how did you provision any of this? Did you take each device, connect to it while on that same network in a completely unauthenticated manner, and provision certificates? Can you send links to webpages on these devices to ordinary browsers that aren’t provisioned with the certificates? Would someone who doesn’t fully trust you and your infrastructure be willing to install your certificate?
Re:Calling time on DNSSEC: The costs exceed the benefits by AnthonyMouse on Saturday June 03, 2023 @01:42AM (#36174044)
> You can’t make connectivity to networking hardware depend on a working network with Internet access to obtain certificates without introducing a circular dependency and the possibility of making it very hard to recover from downtime.

Such things use ssh rather than TLS, or should.

Re:Calling time on DNSSEC: The costs exceed the benefits by Reitet00 on Saturday June 03, 2023 @06:36AM (#36175410)
> C) provision certificates for this address using the DNS-Challenge approach rather than the HTTP-challenge approach.

The other "bonus" is that due to CT it leaks the internal name to basically everyone on the internet. It may or may not be a problem but definitely something to be aware of.