Thank you Edgar,You wrote multiple IP adresses. Does it mean that 1 IP address
= 1 certificate ?Can't be do 1 IP address = x certificates ?
Le Dimanche 14 mai 2017 1h46, Edgar Pettijohn <[email protected]> a
écrit :
On 05/13/17 17:55, Mik J wrote:
Hello,
I would like to know if it's possible to use multiple certificates/keys with
opensmtpd
domain.com has MX mx.domain.com acme.com has MX mx.acme.com
When a clients (remote mta such as gmail) connects to my server, my opensmtpd
should send the according certificate. Something like virtual hosts with httpd
Otherwise, what should I do when my opensmtpd server hosts multiple domaines
with multiple mx records.
Thank you
domain1 = "192.168.1.1"
domain2 = "192.168.1.2"
pki domain1.com certificate "/etc/ssl/domain1.com.crt"
pki domain1.com key "/etc/ssl/private/domain1.com.key"
pki domain2.com certificate "/etc/ssl/domain2.com.crt"
pki domain2.com key "/etc/ssl/private/domain2.com.key"
listen on $domain1 tls pki domain1.com etc, etc...
listen on $domain2 tls pki domain2.com etc, etc...
Hope this helps.