A
A
Aborigen10202020-04-07 13:55:03
Roundcube
Aborigen1020, 2020-04-07 13:55:03

Renewing certificates via certbot for Roundcube with two (or more) domains?

Hello!

There is an (internal, on the local network) iredmail (roundcube face) with a certificate for the mail.somename.somedomain domain from Lets Encrypt.
Its update is successful.
The resulting certificate and key are copied to /etc/ssl/private/iRedMail.key and crt. respectively.

And here I can't figure out how I can get another certificate for other domains, for example, mail.somename22.somedomain22, which I add to iredmail. Indeed, in this case, the key and certificate must be copied to /etc/ssl/private/iRedMail.key, which will overwrite existing files, and https access to mail.somename.somedomain will be denied.
Can you please tell me how to correct this behavior?

found stuff from herehttps://forum.iredmail.org/topic14580-adding-letse... , however, a complete solution is somehow not observed.
Even

certbot certonly --webroot --agree-tos --email your-email-address —expand -d mail.your-domain.com,mail.your-second-domain.com -w /var/www/html/
will not lead to the desired effect, you will need to go to sitename.sitedomain/mail , and not as originally intended.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question