Auteur: Mike Cardwell Date: À: Exim Mailing List Sujet: Re: [exim] multiple IPs and multiple SSL certificates + single exim
Arkadiusz Miskiewicz wrote:
> I'm trying to get different certificates in single exim instance. I tried
> first thing that came to my head:
>
> tls_certificate = /etc/openssl/mail-${interface_address}.crt
> tls_privatekey = /etc/openssl/mail-${interface_address}.key
> tls_advertise_hosts = *
>
> but that doesn't really work:
>
> "expansion of tls_certificate failed: letter or digit expected after ${"
>
> Any other ideas how to force exim to serve different certificates depending on
> to which IP client is connected to?
You shouldn't use the extra squiggly brackets there. Ie just do this: