Re: [exim] multiple IPs and multiple SSL certificates + sing…

Página superior
Eliminar este mensaje
Responder a este mensaje
Autor: Bryan Rawlins
Fecha:  
A: exim-users
Asunto: Re: [exim] multiple IPs and multiple SSL certificates + single exim
Arkadiusz Miskiewicz wrote:
> Any other ideas how to force exim to serve different certificates depending on
> to which IP client is connected to?
>

Here's what I use in our shared hosting enviroment, there may be a
better way, but it does work.

main exim config:
tls_certificate = ${lookup {$received_ip_address}
lsearch{/etc/exim/ssl-cert.map}}

ssl-cert.map:
---
127.0.0.1: /etc/ssl/cert1.pem
172.30.0.25: /etc/ssl/cert2.pem
172.30.0.140: /etc/ssl/cert3.pem
---