Skip to content

3.0.147: Initial LetsEncrypt cert worked. Can't refresh it though. #129

@quarky42

Description

@quarky42

No matter what I did, I couldn't get a backup to restore in the previous version. So, yet again, I setup UISP from scratch with 14 devices.

I brought it down, made a backup, and brought it backup.

Now the cert that is loaded is expired in March. No idea why.

This is the error I get when click Refresh Certificate button.

Last refresh of SSL certificate had failed.

Timestamp: Today at 22:33
Error: Missing command line flag or config entry for this setting:
Please choose an account
Choices: ['uisp.<my-site-redacted>.com@2025-03-24T07:16:52Z (511f)', 'uisp.<mysite>.com@2025-11-16T01:55:43Z (d403)']
Failed to generate or update Let's Encrypt certificate.

Seeing how this is a fresh install, not sure what I did that caused this. Did some troubkleshooting and figured out that there were 2 accounts in: config/cert/accounts/acme-v02.api.letsencrypt.org/directory/ and there should only be one.

The one that was in there had files dated from March 2025 called 511fd96eb70221fff948b1a1a3ef1ea3. After removing the old directory and restarting uisp, I was able to run the Refresh Certificate successfully. Is this 511fd96eb70221fff948b1a1a3ef1ea3 account directory something that is coming from the original docker image? Seeing the date on it, maybe that directory should be removed on the docker hub image?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions