All, I have been using ACME to obtain certificates for Nginx for years now, it just works, great. What has not worked out at all well for me is getting certificates for embedded devices most of which do not support ACME at all. I have been struggling with one that does and the experience has been beyond frustrating.
I don't want to mention the company in question because any support is better than none. But it does seem that if we want manufacturers to 'do it right' we have to tell them what right is. So before I attempt to escalate the issue, I would like to know if there is a document I can point to. Amongst the problems I have encountered: 1) Support is locked to a fixed set of DNS providers, many of which are probably using TSIG authenticated zone transfers under the covers but the only choice available to those of us running their own DNS is to manually update the records each time the cert is renewed. How is that going to work when we go to 24 hour renewal cycles? 2) Lack of support for (1) means that there are no corresponding guides on how to configure the DNS server side. I know how to do it, but if we want everyone to do it, the system has to be plug and play. 3) The nature of the DNS makes the work flow for manual update fragile to unworkable. If I apply for a certificate and it fails for whatever reason, the old, stale record is still there blocking the pipes.Like many folk, I use a hidden primary configuration and boy is it tedious making sure every secondary has the new version of the record before verification is attempted. My concern here is not to solve the problem for me, it is to solve the problem generally. If I am solving the problem for just me, the way I would do it is to write a client/service that jointly generate a keypair, performs the cert request and validations and pops the resulting package into the relevant place for the device to use and then six days before the current cert is set to expire, request a renewal. Although come to think of it, if the amount of entropy in the DNS space is too great for performing TSIG and DNS-01 on the client device is too great, it might be that the best approach is to write such a service and host it on the DNS primary. That allows me to divide up the problem into: 1) Interfacing the management service to the range of embedded devices requiring a cert (currently only Home Assistant and two others but potentially many, turns out I have a 3D printer running proxmox) 2) Interfacing the management service to my specific DNS configuration. This seems better architecturally as while TSIG is an IETF standard, it is only one part of a complex mechanism involving cache coherency. PHB
_______________________________________________ Acme mailing list -- [email protected] To unsubscribe send an email to [email protected]
