Bug 2186647 - Enable XML Signature provider in FIPS mode [rhel-9, openjdk-17]
Summary: Enable XML Signature provider in FIPS mode [rhel-9, openjdk-17]
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: java-17-openjdk
Version: 9.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Andrew John Hughes
QA Contact: OpenJDK QA
Jacob Taylor Valdez
URL:
Whiteboard:
Depends On:
Blocks: 2186810 2186811 2186812
TreeView+ depends on / blocked
 
Reported: 2023-04-14 01:43 UTC by Andrew John Hughes
Modified: 2023-07-12 11:52 UTC (History)
1 user (show)

Fixed In Version: java-17-openjdk-17.0.7.0.7-3.el9
Doc Type: Bug Fix
Doc Text:
Previously, the XML signature provider was unable to operate in FIPS mode. Following recent enhancements to FIPS mode support, the XML signature provider can now be supported. It is now enabled in FIPS mode.
Clone Of:
: 2186810 2186811 2186812 (view as bug list)
Environment:
Last Closed: 2023-06-26 15:39:34 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-154658 0 None None None 2023-04-14 01:45:43 UTC

Description Andrew John Hughes 2023-04-14 01:43:59 UTC
This bug was initially created as a copy of Bug #2156945

I am copying this bug because: 

We need to keep RHEL 9 in sync.

This bug was initially created as a copy of Bug #1940064

I am copying this bug because: we need to fix this in OpenJDK 17 too.


When OpenJDK is configured in FIPS mode, the XML Signature provider is currently disabled, and the keystore type must be PKCS11 (/etc/pki/nssdb is used, in read-only mode).

This is not compatible with some 3rd party applications. 

For example, it leads to the following error running Jenkins on RHEL in FIPs mode:

java.security.KeyStoreException: FIPS mode: KeyStore must be from provider SunPKCS11-NSS-FIPS


Note You need to log in before you can comment on or make changes to this bug.