Fresh install of The Things Stack on Ubuntu fails with open /run/secrets/key.pem: permission denied

I have a local stack running on my Ubuntu machine. I could never get certificates to work, so I could still use it, just not with https and also not with LBS.

Did you remember to type

sudo chown 886:886 ./cert.pem ./key.pem

after creating your certificates?

1 Like