Fix postfix TLS in the FIPS mode by switching to SHA-256 instead of MD5
Request a new translation or translation update
A translation for your language preference does not exist. Click below to request a translation for your selected language.
By default, postfix uses MD5 hashes with the TLS for backward compatibility. But in the FIPS mode, the MD5 hashing function is not available, which may cause TLS not to work properly in the default postfix configuration. Hence, the default hashing function needs to be changed to SHA-256 in the postfix configuration file.
As root run the following commands to switch postfix from the default MD5 hashing function to SHA-256 in booth client and server:
# postconf -e smtp_tls_fingerprint_digest=sha256
# postconf -e smtpd_tls_fingerprint_digest=sha256
# systemctl restart postfix
This solution is part of Red Hat's fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.