Lets Encrypts account ID in Caddyfile


Because Lets Encrypts expands our rate-limit we need to make sure all our servers will operate with static accountID.
I know I can see (and maybe change) the account ID from:

But is there an option to set it up from the Caddyfile instead? This way, it will be easier to manage when using multiple servers.

Do I need to update both files:

Or only update the number inside “noam.json”?

You can configure a specific account key using the JSON config: JSON Config Structure - Caddy Documentation

This is the first request we’ve had for it in the Caddyfile, so I don’t think it’s implemented yet.

1 Like

You would have to update both. The account URL needs to go in the JSON and the key in the key file.