Bug 1958979
Summary: | Freeradius works in FIPS although it uses MD5 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Filip Dvorak <fdvorak> |
Component: | freeradius | Assignee: | Antonio Torres <antorres> |
Status: | CLOSED ERRATA | QA Contact: | Filip Dvorak <fdvorak> |
Severity: | medium | Docs Contact: | lmcgarry |
Priority: | unspecified | ||
Version: | 8.4 | CC: | antorres, fdvorak, lmanasko, lmcgarry, nikolai.kondrashov, pasik |
Target Milestone: | beta | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | freeradius-3.0.20-7.module+el8.5.0+11913+a0aa3fd3 | Doc Type: | If docs needed, set a value |
Doc Text: |
.FreeRADIUS server fails to run in FIPS mode
By default, in FIPS mode, OpenSSL disables the use of the MD5 digest algorithm. As the RADIUS protocol requires MD5 to encrypt a secret between the RADIUS client and the RADIUS server, this causes the FreeRADIUS server to fail in FIPS mode.
To work around this problem, follow these steps:
.Procedure
. Create the environment variable, `RADIUS_MD5_FIPS_OVERRIDE` for the `radiusd` service:
+
[subs="quotes"]
----
systemctl edit radiusd
[Service]
Environment=RADIUS_MD5_FIPS_OVERRIDE=1
----
. To apply the change, reload the `systemd` configuration and start the `radiusd` service:
+
[subs="quotes"]
----
# systemctl daemon-reload
# systemctl start radiusd
----
. To run FreeRADIUS in debug mode:
+
[subs="quotes"]
----
# RADIUS_MD5_FIPS_OVERRIDE=1 radiusd -X
----
Note that though FreeRADIUS can run in FIPS mode, this does not mean that it is FIPS compliant as it uses weak ciphers and functions when in FIPS mode.
For more information on configuring FreeRADIUS authentication in FIPS mode, see link:https://access.redhat.com/solutions/4650511[How to configure FreeRADIUS authentication in FIPS mode].
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-09 18:51:07 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1872689, 1884741 | ||
Bug Blocks: |
Description
Filip Dvorak
2021-05-10 14:17:19 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (freeradius bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:4317 Hi Filip, Does this workaround and Known issue apply to RHEL 8.6 also? Thanks |