Issue Description
I use acme.sh to get my certificates, but when I get a new cert (letsencrypt) Stalwart does not show the new “Valid From” and “Expires” date in the TLS → Certificates page.
Also when I restart Stalwart, the page shows the old dates
I use stalwart 0.16.5
Expected Behavior
Normally the TLS → Certificates page should show the correct dates
Actual Behavior
I see the old dates on the Stalwart TLS->Certificates UI:
Expires
Expiration date of the certificate
Aug 12, 2026, 9:34 PM
Valid From
Issuance date of the certificate
May 14, 2026, 9:34 PM
Issuer
Certificate issuer
C=US, O=Let’s Encrypt, CN=E8
#########
A have checked with “sslscan https://mail.schleicher.li:465” and get the following output
SSL Certificate:
Signature Algorithm: ecdsa-with-SHA384
ECC Curve Name: prime256v1
ECC Key Strength: 128
Subject: schleicher.li
Altnames: DNS:.lug-bruchsal.de, DNS:.lugbruchsal.de, DNS:*.schleicher.li, DNS:lug-bruchsal.de, DNS:lugbruchsal.de, DNS:schleicher.li
Issuer: E8
Not valid before: May 15 05:54:53 2026 GMT
Not valid after: Aug 13 05:54:52 2026 GMT
The dates are different, Stalwart use the new cert but in the UI it shows the old dates
Reproduction Steps
- create with acme.sh certs.
- configure the certs in Stalwart-UI
- renew the acme.sh certs and restart stalwart
- Stalwart-UI shows still the old Cert in the UI
Stalwart Version
v0.16.x
Installation Method
Binary (Linux)
Database Backend
RocksDB
Blob Storage
RocksDB
Search Engine
Internal
Directory Backend
Internal
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on