Account URI does not match the current CAServer. The account will be reset

Using 2.1.4

Started using LE staging. Moved to prod and Traefik is still serving staging cert. The only error I see is

Account URI does not match the current CAServer. The account will be reset

Hello,

you have to clean/reset your acme.json file.

1 Like

Can i delete the file and restart Traefik? Never had that problem with 2.1 2

Traefik dashboard should have an option to do this.

Another option I did was to name the staging an prod resolvers differently. If the only thing that changes is the caServer, there is already a certificate in the acme.json, so that is what is used.