1

Topic: Trouble with SSL Certificate Renewal in iRedMail

==== REQUIRED BASIC INFO OF YOUR IREDMAIL SERVER ====
- iRedMail version (check /etc/iredmail-release): iRedMail Enterprise Edition:2025090801
- Deployed with iRedMail Easy or the downloadable installer? Yes
- Linux/BSD distribution name and version: Ubuntu 22.04.5 LTS
- Store mail accounts in which backend (LDAP/MySQL/PGSQL): Backend: mariadb
- Web server (Apache or Nginx):NginX
- Manage mail accounts with iRedAdmin-Pro? Yes
- [IMPORTANT] Related original log or error message is required if you're experiencing an issue.
====
Hi everyone,

I’m having problems with SSL certificate renewal. My Let’s Encrypt cert didn’t auto-renew, and now webmail and SMTP are showing certificate errors.
Has anyone run into this? What’s the best way to fix it and make sure renewal works automatically in the future?

Thanks!

----

Spider Email Archiver: On-Premises, lightweight email archiving software developed by iRedMail team. Supports Amazon S3 compatible storage and custom branding.

2

Re: Trouble with SSL Certificate Renewal in iRedMail

Try to run it manually with --dry-run. Also, send some logs.
https://docs.iredmail.org/letsencrypt .html

3

Re: Trouble with SSL Certificate Renewal in iRedMail

davidsolano wrote:

I’m having problems with SSL certificate renewal. My Let’s Encrypt cert didn’t auto-renew, and now webmail and SMTP are showing certificate errors.
Has anyone run into this? What’s the best way to fix it and make sure renewal works automatically in the future?

How did you request ssl certificate? Use the command line tool "certbot", or the builtin cert management offered by EE?
Does it report any error?

4

Re: Trouble with SSL Certificate Renewal in iRedMail

I used the built-in certificate management offered by iRedMail EE, not the standalone certbot command.
When the auto-renewal tried to run, it didn’t seem to update the certificate, and both webmail and SMTP started throwing certificate errors.
I checked the logs under /var/log/letsencrypt/ but I didn’t see any obvious error messages, just that renewal was attempted but no new cert was deployed.

5

Re: Trouble with SSL Certificate Renewal in iRedMail

Any related error in /var/log/iredmail/daemon.log?