Closed AroaR91867HTML closed 3 months ago
Hi,
I have a SMTP server with TLS (just to receive emails) but now we want to add multiple domains, I read in the doc about SNI, but I can't see how I can specify an individual certificate (key, cert) for each domain.
Thank you
You can use something like this:
sniOptions: { "smtp.example.com": { key: fs.readFileSync("private.key"), cert: fs.readFileSync("server.crt") } }
Thank you!
Hi,
I have a SMTP server with TLS (just to receive emails) but now we want to add multiple domains, I read in the doc about SNI, but I can't see how I can specify an individual certificate (key, cert) for each domain.
Thank you