In Debian 10, the upgraded OpenSSL package has more secure defaults (per https://wiki.debian.org/ContinuousIntegration/TriagingTips/openssl-1.1.1) which causes problems for some of my existing application configurations.
Changing /etc/ssl/openssl.cnf to use CipherString = DEFAULT@SECLEVEL=1
keeps my old configurations working but of course that's a system-wide change.
What I am wondering is if it is possible to keep the system default of CipherString = DEFAULT@SECLEVEL=2
and change this setting at a more granular level?
Specifically, I would like to change the setting on a per-site level in Apache if possible.
/etc/ssl/openssl.cnf
is just a default OpenSSL configuration, it is not necessarily used by applications. You are not clearly specifying which applications you use that depend on this file. The two are the same thing: doopenssl ciphers -s -v 'ALL:@SECLEVEL=2'
and you will the specific ciphers that are included, which you can use then in your Apache configuration. Also search for SECLEVEL on access.redhat.com/articles/3652701 you will see you can use it directly in Apache configuration...