RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1904544 - [RFE] Ability to disable TLSv1.3 in postfix
Summary: [RFE] Ability to disable TLSv1.3 in postfix
Keywords:
Status: CLOSED DUPLICATE of bug 1688389
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: postfix
Version: 8.2
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: rc
: 8.0
Assignee: Jaroslav Škarvada
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-04 17:52 UTC by Husam Ahmed Chaudhary
Modified: 2024-06-13 23:38 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-12-07 09:38:27 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Husam Ahmed Chaudhary 2020-12-04 17:52:28 UTC
Description of problem:

Current version of postfix (3.3.1-12) shipped with RHEL 8 doesn't has the option to disable TLSv1.3 from the configuration.

Upstream postfix doc states that, disabling of TLSv1.3 is supported since postfix 3.4. (http://www.postfix.org/postconf.5.html#smtpd_tls_protocols)

~~~~
Support for "TLSv1.3" was introduced in OpenSSL 1.1.1. Disabling this protocol via "!TLSv1.3" is supported since Postfix 3.4 (or patch releases ≥ 3.0.14, 3.1.10, 3.2.7 and 3.3.2).
~~~~~

One of our customer will like to have this feature in the current version of postfix shipped with RHEL 8.

Version-Release number of selected component (if applicable):
postfix-3.3.1-12

Steps to Reproduce:

1. Configure postfix with TLSv1.3 disabled.

# cat /etc/postfix/main.cf | grep TLSv1.3
smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1, !TLSv1.3
smtpd_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1, !TLSv1.3
 
2. Testing (connect to postfix with TLSv1.3)

# openssl s_client -starttls smtp  -connect localhost:25 -tls1_3 -brief
Can't use SSL_get_servername
depth=0 C = IN, ST = Maharashtra, L = Mumbai, O = Red Hat, OU = IT, CN = husam.com
verify error:num=18:self signed certificate
CONNECTION ESTABLISHED
Protocol version: TLSv1.3
Ciphersuite: TLS_AES_256_GCM_SHA384
Peer certificate: C = IN, ST = Maharashtra, L = Mumbai, O = Red Hat, OU = IT, CN = husam.com
Hash used: SHA256
Signature type: RSA-PSS
Verification error: self signed certificate
Server Temp Key: X25519, 253 bits
250 SMTPUTF8

Actual results:

Even when TLSv1.3 is disabled in the main.cf file (!TLSv1.3) ,still we are able to connect using this protocol

Expected results:

We should not be able to connect to postfix using TLSv1.3.


Additional info:

I have tested the same in Fedora 33 which has postfix-3.5.8-1 and it has the option to disable TLSv1.3

---------xxxxxx----------

# cat /etc/redhat-release 
Fedora release 33 (Thirty Three)

# rpm -qa | grep post
postfix-3.5.8-1.fc33.x86_64

# cat /etc/postfix/main.cf | grep TLSv1.3

smtpd_tls_mandatory_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1, !TLSv1.3
smtpd_tls_protocols = !SSLv2, !SSLv3, !TLSv1, !TLSv1.1, !TLSv1.3

# openssl s_client -starttls smtp  -connect localhost:25 -tls1_3 -brief
139999645411136:error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version:ssl/record/rec_layer_s3.c:1543:SSL alert number 70

---------xxxxxx----------

Comment 1 Jaroslav Škarvada 2020-12-07 09:38:27 UTC

*** This bug has been marked as a duplicate of bug 1688389 ***


Note You need to log in before you can comment on or make changes to this bug.