I tried to make a module .pmod with such a content:
cipher@TLS = +RC4-* +DES-*
cipher = +RC4-* +DES-*
I tried to apply this module.
3. I tried to build my own policy by copying LEGACY and adding these algorithms into it.
All the same, when I test my server (postfix) with some software,
like testssl.sh, for example, I can’t see that these two algorithms were added to my system.
(
Of course, I made a setting (for testing) in Postfix’s main.conf
smtpd_tls_protocols = SSLv3, TLSv1
)
In the same time while checking the presence of old crypto algorithms,
I see the list of old algorithms and don’t see RC4 and 3DES among them.)
May be somebody knows how to do it, because there are no detailed descriptions how to do it in the internet.
/usr/share/crypto-policies/<‘POLICYNAME’>
Pre-generated back-end configurations for policy POLICYNAME.
/etc/crypto-policies/local.d
Additional configuration shipped by other packages or created by the system administrator. The contents of the -file.config is appended to the configuration from the policy back end
as shipped in the crypto-policies package.
It seems to me like your ciphers are disabled by default in the LEGACY policy as well and you need to create local config files to overwrite this.
Thank you for the answer.
I think, that those ciphers are absent in my openssl library (I have checked recently), that is why even if I configure it, it won’t work.
I wrote in the beginning, that I
“3. I tried to build my own policy by copying LEGACY and adding these algorithms into it.”
I also added TLS 1.0 into this policy.
All these I did because I have been configuring a Postfix relay for an old multipart proprietary mail system with old ssl protocols, like ssl3, tls1, as a temporary solution.
Thank you for the answer.
I reinstalled OS and chose not modern system, but CentOS 7,
where OpenSSL library is older. We have already configured another one host with this distribution and got the necessary type of encryption algorithm.
By erasing the new system, I erased the configs for encryption policy.