foreman-installer icon indicating copy to clipboard operation
foreman-installer copied to clipboard

Fixes #35629 - Default Apache to PROFILE=system ciphers

Open ekohl opened this issue 3 years ago • 1 comments

At least on EL8 it's possible to use PROFILE=system for SSLCipherSuite and SSLProxyCipherSuite. This allows admins to configure the cipher suite on a system level and it also means we don't have to keep our cipher suite up to date.

Today SSLProxyCipherSuite is not yet an option (https://github.com/puppetlabs/puppetlabs-apache/pull/2335 should add it), but Hiera will ignore unknown keys. When the option becomes available, it will be set.

I don't know if Debian/Ubuntu can do the same so for now I've set it only for RH-8.

ekohl avatar Oct 13 '22 12:10 ekohl

I don't know if Debian/Ubuntu can do the same so for now I've set it only for RH-8.

https://wiki.debian.org/CryptoPolicy suggests that it was mostly RH patches but update-crypto-policies is in Debian sid (https://packages.debian.org/unstable/crypto-policies) with RH Gitlab as upstream so I suspect over time it'll flow into Debian stable. For now we'll need something else.

I opened https://github.com/puppetlabs/puppetlabs-apache/pull/2336 to match OS defaults. Perhaps with that we could stop setting the ciphers altogether.

ekohl avatar Oct 13 '22 21:10 ekohl

https://wiki.debian.org/CryptoPolicy suggests that it was mostly RH patches but update-crypto-policies is in Debian sid (https://packages.debian.org/unstable/crypto-policies) with RH Gitlab as upstream so I suspect over time it'll flow into Debian stable. For now we'll need something else.

Looking at https://tracker.debian.org/pkg/crypto-policies, I wouldn't hold my breath on that one.

evgeni avatar Oct 20 '22 07:10 evgeni

Turns out it's PROFILE=SYSTEM, not PROFILE=system`. See https://github.com/puppetlabs/puppetlabs-apache/pull/2336#issuecomment-1292232421 as well.

ekohl avatar Oct 26 '22 15:10 ekohl