Bug 1723586

Summary: Firefox cannot browse some pages with fips mode on
Product: Red Hat Enterprise Linux 8 Reporter: Joe Wright <jwright>
Component: nssAssignee: nss-nspr-maint <nss-nspr-maint>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE Security Team <qe-baseos-security>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.0CC: brclark, dueno, hbarcomb, hkario, jkoten, jprajzne, pasik, rrelyea, stransky, tmraz, tpelka, vanhoof
Target Milestone: rc   
Target Release: 8.0   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-03 16:08:29 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: 1724250    
Bug Blocks: 1739559    

Description Joe Wright 2019-06-24 21:19:07 UTC
Description of problem:
- Firefox throws SSL errors when FIPS is enabled

Version-Release number of selected component (if applicable):
- RHEL 8.0

How reproducible:
100%

Steps to Reproduce:
Reproducer steps
- boot RHEL 8 installation media
- at the prompt, press tab. Add 'fips=1' to the cmdline and hit enter
- during installation, go to security profiles and select the OSPP profile
- install as server with GUI
- boot in to newly installed OS and complete EULA
- log in as a non-root user and run firefox
- browse to www.google.com
- observe

Firefox will report the following error: (with URL redirect from www.google.com to https://www.google.com/?gws_rd=ssl)
8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<----
Secure Connection Failed

An error occurred during a connection to www.google.com. security library failure. Error code:
SEC_ERROR_LIBRARY_FAILURE
- The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
- Please contact the website owners to inform them of this problem
Learn more...
8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<-----8<----

As a test, I rebooted without fips enabled (changed fips=1 to fips=0 on the kernel cmdline), and FF works

Actual results:
- Firefox will throw above SSL error on certain websites, including www.google.com

Expected results:
- able to browse websites normally

Additional info:

Comment 1 Martin Stransky 2019-07-25 15:13:23 UTC
Is this still a problem with latest firefox 60.8.0? Thanks.

Comment 2 Jiri Prajzner 2019-08-06 07:19:04 UTC
it fails on RHEL-8.1.0-20190730.n.0 with 
nspr-4.21.0-3.el8_0.x86_64.rpm
nss-sysinit-3.44.0-7.el8_0.x86_64.rpm
nss-softokn-3.44.0-7.el8_0.x86_64.rpm
nss-tools-3.44.0-7.el8_0.x86_64.rpm 
nss-3.44.0-7.el8_0.x86_64.rpm 
nss-softokn-freebl-3.44.0-7.el8_0.x86_64.rpm 
nss-util-3.44.0-7.el8_0.x86_64.rpm 
firefox-68.0.1-3.el8_0.x86_64.rpm 
firefox-debuginfo-68.0.1-3.el8_0.x86_64.rpm 
firefox-debugsource-68.0.1-3.el8_0.x86_64.rpm

Comment 3 Martin Stransky 2019-08-06 12:58:48 UTC
Do I understand correctly that this bug was present in FF 60.8.0 and it's also there in FF68.0? Thanks.

Comment 5 Jiri Prajzner 2019-08-12 10:24:56 UTC
(In reply to Martin Stransky from comment #3)
> Do I understand correctly that this bug was present in FF 60.8.0 and it's
> also there in FF68.0? Thanks.

yes

Comment 12 Martin Stransky 2020-02-24 16:53:37 UTC
Moving to NSS as it looks like NSS issue to me.

Comment 13 Alicja Kario 2020-02-24 17:44:28 UTC
Martin, we already have bug 1724250 for tracking TLS 1.3 support in FIPS mode.

Unless we get some additional information to show that this issue is not TLS 1.3 related, I will close this bug as a duplicate.

Comment 15 Alicja Kario 2020-03-03 16:08:29 UTC

*** This bug has been marked as a duplicate of bug 1724250 ***