I'm using nginx for proxying pop/pops & imap/imaps. It has been configured with certificates for the ssl interfaces and everything works fine for SSL & non-SSL.
The issue I'm having is that for tls I can't configure nginx to use the pop certificate for pop and imap certificate for imap.
It can be seen in the mail configuration file for TLS it is only possible for the ssl_certificate to be referenced to one file and not separate files:
Code:
$ egrep -i 'SSL|TLS' nginx.conf.mail
# on whether cleartext login is available (see description for starttls)
# For example, if starttls is set to only, then SASL PLAIN is not
# available outside of TLS/SSL
# TLS configuration
ssl_prefer_server_ciphers on;
ssl_certificate /opt/zimbra/conf/nginx.crt;
ssl_certificate_key /opt/zimbra/conf/nginx.key; Ideally I would expect something similar to below, but I can't work out how I could do it and if it is even possible.
Code:
ssl_certificate_pop /opt/zimbra/conf/nginx.crt_pop;
ssl_certificate_key_pop /opt/zimbra/conf/nginx.key_pop;
ssl_certificate_imap /opt/zimbra/conf/nginx.crt_imap;
ssl_certificate_key_imap /opt/zimbra/conf/nginx.key_imap;