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:

tls_certificate = /etc/openssl/mail-$interface_address.crt
tls_privatekey  = /etc/openssl/mail-$interface_address.key

Mike

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

Reply via email to