[SOLVED] Config parameter for TLS chain files

laurensb

Member
Mar 9, 2020
21
9
23
Since Postfix 3.4 (packed with Buster) the preferred way to specify TLS keys and certs seems to be smtpd_tls_chain_files, but PMG still uses the legacy smtpd_tls_cert_file and smtpd_tls_key_file parameters.

Is there a specific reason for this or is it safe to use the new parameter?
 
Is there a specific reason for this or is it safe to use the new parameter?
should be perfectly possible - we did not switch because PMG currently still simply generates a RSA cert+key when you enable TLS (and have no such file) - so it was not needed.

if you want to adapt the config in PMG you need to use the templateing system:
https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine

Out of curiosity - are you planning on using multiple certs+algorithms? (and why)?
(We might include this in a later version if it benefits more users)

I hope this helps!
 
should be perfectly possible - we did not switch because PMG currently still simply generates a RSA cert+key when you enable TLS (and have no such file) - so it was not needed.
Ah, OK. I wondered as PMG already uses one file with key + cert/fullchain combined (/etc/pmg/pmg-tls.pem), which looks perfectly fitted for the smtpd_tls_chain_files parameter.

Out of curiosity - are you planning on using multiple certs+algorithms? (and why)?
(We might include this in a later version if it benefits more users)
Yes, both RSA and ECDSA. No special considerations though. I just noticed that Let's Encrypt has changed the default to ECDSA recently, so I thought it a good time to switch to ECDSA too. However, because ECDSA isn't as widely adopted as RSA yet, I decided to run both for the time being, to maintain support for as much clients as reasonably possible as it seems that there are still quite a few older MTA's in use worldwide.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!