Appearance
Crypto policies for Swisscom RHEL ​
System-wide crypto policy ​
In the Enterprise IT, the security landscape is constantly evolving. Without robust cryptographic integrity protections, information can be altered by unauthorized users without detection. With Red Hat Enterprise Linux 8.0 the system-wide crypto policy was introduced. This component configures the core cryptographic subsystems, covering TLS, IPSec, DNSSec, Kerberos, and secure communication protocols. This allows to apply a consistent cryptographic policy at scale. The predefined policies are DEFAULT, LEGACY, FUTURE, FIPS. The default system-wide crypto policy is set to DEFAULT by Red Hat. Beside the vendor-specific policies, it is possible to specify customized crypto policies.
More information here: System-wide crypto policies
Swisscom crypto policy for RHEL 8, RHEL 9, and RHEL 10 ​
On Swisscom RHEL 8, Swisscom RHEL 9, and Swisscom RHEL 10 VMs, the SWISSCOM customized crypto policy is enabled and enforced with Ansible. You can check the enabled crypto policy by using the update-crypto-policies tool:
sh
$ update-crypto-policies --show
SWISSCOMException for Crypto policies ​
In certain scenarios, it might be necessary to deviate from the enforced SWISSCOM crypto policy. This section describes how to configure an exception from the SWISSCOM crypto policy.
Configuring an exception from the SWISSCOM crypto policy ​
The following conditions must be met:
- You know what you do.
- Your VM runs with RHEL 8 or later.
WARNING
Applying your own customized crypto policy might degrade your system security posture! Only do this as a measure of last resort and if the conditions above are met.
- Copy an existing, secure crypto policy file e.g. the
SWISSCOMcrypto policy file, name the new exception policySWISSCOM_INSECUREfor example.bash$ sudo cp /usr/share/crypto-policies/policies/DEFAULT.pol /etc/crypto-policies/policies/SWISSCOM_INSECURE.pol - Adopt your exception crypto policy.bash
$ sudo vi /etc/crypto-policies/policies/SWISSCOM_INSECURE.pol - Activate your exception crypto policy.bash
$ sudo update-crypto-policies --set SWISSCOM_INSECURE Setting system policy to SWISSCOM_INSECURE Note: System-wide crypto policies are applied on application start-up. It is recommended to restart the system for the change of policies to fully take place. $ update-crypto-policies --show SWISSCOM_INSECURE
