!MthpOIxqJhTgrMNxDS:nixos.org

NixOS ACME / LetsEncrypt

106 Members
Another day, another cert renewal43 Servers

Load older messages


SenderMessageTime
18 Jul 2021
@aanderse:nixos.devaanderse joined the room.15:57:03
@aanderse:nixos.devaanderse changed their display name from Aaron Andersen to aanderse.15:58:44
19 Jul 2021
@aanderse:nixos.devaanderse shouldn't this show me a list of all my certs on a server? sudo -u acme lego list 15:35:27
@aanderse:nixos.devaanderse getting No certificates found. 15:35:40
@andreas.schraegle:helsinki-systems.deAndreas SchrägleHm. I'm seeing a renewal failing, because it's trying to validate domains which it shouldn't anymore. They were removed from the cert and the lego call also doesn't list them, but it's still trying to validate them.21:29:35
@andreas.schraegle:helsinki-systems.deAndreas SchrägleI just forced getting a new certificate by moving the folder for now, but this seems like a bug. Maybe in lego or the way we call it, not sure.21:39:34
23 Jul 2021
Room Avatar Renderer.23:23:50
30 Jul 2021
@aanderse:nixos.devaanderse i noticed that the nixos manual has a section on prosody which explains how to use it with ssl certs, but it results in a failure because it doesn't manage cert permissions at all :\ 14:09:53
@aanderse:nixos.devaanderse i'm not sure exactly what i'm supposed to do to have prosody use a ssl cert that i use for other services as well
any hints?
i think until LoadCredentials works well the cert would have group readable permissions
14:12:02
@hexa:lossy.networkhexaloadcredentials copies the certificate and never updates it15:47:30
@hexa:lossy.networkhexanot sure why they thought this would be a good idea15:47:43
@hexa:lossy.networkhexaprosody has a module you need to load so it reloads certificates as well IIRC15:48:01
@andi:kack.itandi-
In reply to @aanderse:nixos.dev
i'm not sure exactly what i'm supposed to do to have prosody use a ssl cert that i use for other services as well
any hints?
i think until LoadCredentials works well the cert would have group readable permissions
set additional groups for the cert: https://github.com/andir/infra/blob/master/config/modules/prosody/default.nix#L330
15:56:25
@aanderse:nixos.devaanderse andi-: ah ok, yeah just a dedicated cert group 16:01:07
@andi:kack.itandi-yeah16:01:21
@andi:kack.itandi-you could try facls again ;-)16:01:40
@aanderse:nixos.devaanderse i mean... i thought thats what acme was 16:01:44
@aanderse:nixos.devaanderseha ha ha16:01:50
@andi:kack.itandi-well but that gives all the services access not just those that should access those keys16:01:59
@aanderse:nixos.devaanderseoh boy... acls + systemd = not a fun time apparently16:02:04
@aanderse:nixos.devaanderseyeah, fair point16:02:13
@andi:kack.itandi-sounds like your kink entirely16:02:18
@aanderse:nixos.devaandersenot mine! forced into it!16:02:31
@aanderse:nixos.devaanderseyou wouldn't believe the things i'm forced into :P16:02:37
1 Aug 2021
@jamie:memes.nzJamie joined the room.08:10:56
8 Aug 2021
@hexa:lossy.networkhexa m1cr0man: merged the hardening pr, you seemed content with it, and I felt I couldn't improve it any further. now for some more real world testing. 13:51:18
@m1cr0man:m1cr0man.comm1cr0manAwesome ok. :) 13:51:32
@m1cr0man:m1cr0man.comm1cr0manI might try updating my server today so14:08:13
@hexa:lossy.networkhexasame14:21:59
@hexa:lossy.networkhexadidn't fail on activation, so that's good 😂14:31:38

Show newer messages


Back to Room ListRoom Version: 6