Bug 1663443
| Summary: | java FIPS and FUTURE policies incorrectly disable DHE_RSA and ECDHE_RSA ciphersuites | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Mohammad Rizwan <myusuf> |
| Component: | crypto-policies | Assignee: | Tomas Mraz <tmraz> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Ondrej Moriš <omoris> |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 8.0 | CC: | ahughes, ascheel, cheimes, dpunia, edewata, ksiddiqu, mbalao, mthacker, myusuf, nmavrogi, omoris, pvoborni, rcritten, rhcs-maint, tscherf, wchadwic, xdong |
| Target Milestone: | rc | Keywords: | Regression, TestBlocker |
| Target Release: | 8.0 | Flags: | rule-engine:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | crypto-policies-20181217-4.git9a35207.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-13 22:48:47 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: | |||
| Bug Blocks: | 1652753, 1656418 | ||
|
Description
Mohammad Rizwan
2019-01-04 11:14:00 UTC
It is failing during bootstrapping. Only the temporary server cert has been issued at the point of failure. DS/CA Installation are getting failed after enabling the fips at hardware level.
Below is the detail logs
Working fine before configuring fips:-
# dscreate from-file rhel8-ds.inf
Starting installation...
Created symlink /etc/systemd/system/multi-user.target.wants/dirsrv → /usr/lib/systemd/system/dirsrv@.service.
Completed installation for master
After configuring fips on rhel8 ds installation is not working
# df /boot
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 1038336 171500 866836 17% /boot
# blkid /dev/sda1
/dev/sda1: UUID="88a7f134-6f62-445e-8c6b-0a9aae0f3478" TYPE="xfs" PARTUUID="6b4463b1-01"
# grub2-mkconfig -o /boot/grub2/grub.cfg
Generating grub configuration file ...
done
# reboot
# sysctl crypto.fips_enabled
crypto.fips_enabled = 1
# /usr/sbin/getenforce
Enforcing
# dscreate from-file rhel8-ds.inf
Starting installation...
Created symlink /etc/systemd/system/multi-user.target.wants/dirsrv → /usr/lib/systemd/system/dirsrv@.service.
Error: {'desc': "Can't contact LDAP server"}
after disabling the fips :-
[root@dell-pr5820-01 hsm_setup]# sysctl crypto.fips_enabled
crypto.fips_enabled = 0
[root@dell-pr5820-01 hsm_setup]#
[root@dell-pr5820-01 hsm_setup]# dscreate from-file rhel8-ds.inf
Starting installation...
Created symlink /etc/systemd/system/multi-user.target.wants/dirsrv → /usr/lib/systemd/system/dirsrv@.service.
Completed installation for master
Attached is the config file and debug logs
Acceptance Criteria: * IPA server can be installed in FIPS mode. (In reply to Ondrej Moriš from comment #19) > Acceptance Criteria: > > * IPA server can be installed in FIPS mode. I believe this is too broad AC. I'd suggest AC: * java -Djava.security.properties=../outputs/FIPS-java.txt CipherList lists the DHE_RSA and ECDHE_RSA ciphersuites (and the same for FUTURE policy) |