!MthpOIxqJhTgrMNxDS:nixos.org

NixOS ACME / LetsEncrypt

107 Members
Another day, another cert renewal43 Servers

Load older messages


SenderMessageTime
11 Nov 2024
@thinkchaos:matrix.orgThinkChaos Account creation is still messy and I think the best thing would be to write a small CLI that creates the account and write the info where lego will look for it.
So one acme-account-${escaped-email}.service per account, and each cert using that account requires that service. And we use a negative ConditionPathExists to ensure it only actually runs when needed (but not RemainAfterExit otherwise clearing the state and starting a cert service won't rerun the service).
18:58:06
@thinkchaos:matrix.orgThinkChaosOr look at completely replacing lego but that seems much harder18:59:47
@thinkchaos:matrix.orgThinkChaos * Or look at completely replacing lego but that seems much harder to do backwards-compatibly with existing state19:00:33
@arianvp:matrix.orgArianMaybe we should run a Kubernetes apiserver and use certmanager19:01:26
@arianvp:matrix.orgArianOnly half joking19:01:30
@thinkchaos:matrix.orgThinkChaosFor the potential custom account creation tool https://github.com/mholt/acmez/blob/v2.0.3/examples/plumbing/main.go#L56-L8819:02:18
@emilazy:matrix.orgemily I'm old enough to remember when we replaced simp_le with Lego and destroyed everyone's data 19:02:18
@emilazy:matrix.orgemilyah, so this is how I get ACMEZ in through the back door 😂19:02:33
@arianvp:matrix.orgArianAnd ill do it again!! 😈19:02:38
@emilazy:matrix.orgemilyone day I'll write the thing that needs to exist and then you can inflict it on everyone19:03:14
@thinkchaos:matrix.orgThinkChaosI took a quick look at other ACME clients listed in https://letsencrypt.org/docs/client-options/ and pretty sure I saw one could migrate Lego data but don't find it again19:04:29
@emilazy:matrix.orgemilyimage.png
Download image.png
19:04:40
@emilazy:matrix.orgemilywe were so innocent then19:04:41
@thinkchaos:matrix.orgThinkChaosAnyways the cert dir structure was different I think so would still break users19:04:52
@emilazy:matrix.orgemily
In reply to @thinkchaos:matrix.org
I took a quick look at other ACME clients listed in https://letsencrypt.org/docs/client-options/ and pretty sure I saw one could migrate Lego data but don't find it again
nothing really exists that meets requirements and is superior to lego IMO
19:04:55
@emilazy:matrix.orgemilyCaddy builds on CertMagic/ACMEZ and is a better implementation with a much better model (a proper daemon), but it doesn't quite have the shape of the thing we need19:05:18
@thinkchaos:matrix.orgThinkChaosYeah that was my conclusion from a quick look, hence the custom tool proposal :)19:05:20
@emilazy:matrix.orgemilyhttps://github.com/https-dev/docs/blob/master/acme-ops.md essential reading19:05:47
@emilazy:matrix.orgemily(primarily from the Caddy/CertMagic/ACMEZ author)19:06:00
@arianvp:matrix.orgArianMy website still runs 21.05 lol19:06:06
@emilazy:matrix.orgemily😱19:06:31
@arianvp:matrix.orgArianIf it ain't broken.... 19:06:31
@emilazy:matrix.orgemilyanything with that many CVEs is broken by definition19:06:43
@emilazy:matrix.orgemilyor at least I can break it for you if you'd like19:06:48
@arianvp:matrix.orgArianDisagree19:06:49
@arianvp:matrix.orgArianIt's just a static website if someone owns it I'll just make a new server 😂19:07:08
@arianvp:matrix.orgArianI don't have the ssh key anymore. If you are bored and wanna try to break in you have my consent 19:07:30
@emilazy:matrix.orgemilyit sounds like you need me to break in to get you your SSH key back19:08:08
@emilazy:matrix.orgemilylike smashing someone's windows to unlock the door from the inside for them19:08:19
@arianvp:matrix.orgArianNormalize machines with 10 years of uptime and some php 519:08:53

Show newer messages


Back to Room ListRoom Version: 6