Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: failed to decode certificate #1048

Open
1 task done
williamdes opened this issue Jan 4, 2025 · 1 comment
Open
1 task done

[bug]: failed to decode certificate #1048

williamdes opened this issue Jan 4, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@williamdes
Copy link
Contributor

What happened?

2025-01-04T23:18:07Z ERROR ACME error (acme.error) causedBy = crates/common/src/listener/acme/cache.rs:81, reason = "Invalid symbol 64, offset 10.", details = failed to decode certificate, causedBy = crates/common/src/listener/acme/cache.rs:41, details = Failed to load account, details = Failed to reload ACME certificate manager.

The code at https://github.com/stalwartlabs/mail-server/blob/v0.10.7/crates/common/src/listener/acme/cache.rs#L41 seems to have another message that is not the one from the logs :/

The account key is set, the provider is zerossl.

How can we reproduce the problem?

Restarting the server gives the same error, there is no certificate in the TLS web ui.
But maybe there was an expired one previously. I deleted the old provider.

Version

v0.10.x

What database are you using?

SQLite

What blob storage are you using?

S3-compatible

Where is your directory located?

LDAP

What operating system are you using?

Linux

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@williamdes williamdes added the bug Something isn't working label Jan 4, 2025
@mdecimus
Copy link
Member

mdecimus commented Jan 6, 2025

Was this working before or this happens when trying to obtain a new certificate from ZeroSSL?
If you modified or manually entered data in the "Account Key" field, then that's the issue, this is a field generated by Stalwart and should not be modified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants