VojtechMyslivec / letsencrypt-zimbra

Files to automate the deployment process of Let's Encrypt certificates to Zimbra Collaboration Suite
GNU General Public License v3.0
168 stars 91 forks source link

Multiple domains #44

Closed lmbss closed 6 years ago

lmbss commented 6 years ago

Sorry, I really caught myself yesterday, maybe the long hours of work.

My question is, how can I configure for example two domains in the certificate, for example having xmail.domain.com and mail.domain.com, is it possible?

How do I put it in the configuration file? in the CN place separated by comma or in the end I put dns.2?

VojtechMyslivec commented 6 years ago

No problem.

As I say, there are examples in letsencrypt-zimbra.cfg.example.

You should set common names like this in that case:

common_names=( 'xmail.domain.com' 'mail.domain.com' )

This variable is a shell array, so don't forget the parentheses and items are space-separated.

Both domain names must point to your zimbra server.

lmbss commented 6 years ago

Tks :)