[SOLVED] Disabling TLS 1.0 and 1.1

Oct 28, 2013
325
57
93
www.nadaka.de
Hi there,

we are trying to disable TLS 1.0 and 1.1 for our PMG/Postfix. Therefore we put smtpd_tls_mandatory_protocols = >=TLSv1.2 to our /etc/pmg/templates/main.cf.in and commit the change via pmgconfig sync --restart 1.

Then we tested it from another machine with openssl s_client -connect ourpmg.example.com:25 -tls1 -starttls smtp, and unfortunately -tls1 and -tls1_1 still responds with Secure Renegotiation IS supported. Our expectation is that only -tls1_2 works. Did we miss something? Are we testing wrong?

Thanks and greets!
 
Hi , I would like to ask this question once again
We using PMG version 9.1.1 based on debian 13.6
I want to disable TLS 1.0/1.1 access via SMTP .
But I do NOT have directory "/etc/pmg/templates" :(
Of course , i found "/etc/postfix/main.cf" , but not sure that can I edit this file...

Regards
Adam
 
Hi , I would like to ask this question once again
We using PMG version 9.1.1 based on debian 13.6
I want to disable TLS 1.0/1.1 access via SMTP .
But I do NOT have directory "/etc/pmg/templates" :(
Of course , i found "/etc/postfix/main.cf" , but not sure that can I edit this file...

Regards
Adam
/etc/pmg/templates doesn't exist by default. It's an override directory - the stock templates are read-only under /var/lib/pmg/templates/ and pmgconfig uses a file from /etc/pmg/templates/ only if you put one there. You need to create it yourself:
mkdir -p /etc/pmg/templates
cp /var/lib/pmg/templates/main.cf.in /etc/pmg/templates/main.cf.in

Add your smtpd_tls_mandatory_protocols line to the copy, then run pmgconfig sync --restart 1. [0]

[0] https://pmg.proxmox.com/pmg-docs/pmg-admin-guide.html#pmgconfig_template_engine