Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
"pkispawn" no longer generates passwords consisting only of digits
Previously, "pkispawn" could generate a random password for NSS database consisting only digits. Such passwords are not FIPS-compliant. With this update, the installer has been modified to generate FIPS-compliant random passwords which consist of a mix of digits, lowercase letters, uppercase letters, and certain punctuation marks.
DescriptionStanda Laznicka
2016-11-30 14:41:02 UTC
Created attachment 1226356[details]
Failing pkispawn configuration
Description of problem:
Running pkispawn -s CA with the config file from the attachment ends up in pkispawn error.
Version-Release number of selected component (if applicable):
pki-base-10.3.3-14.el7_3
How reproducible:
Always
Steps to Reproduce:
1. Setup your system for FIPS
2. run pkispawn with the given config (you can run ipa-server-install to make it easier for you)
Actual results:
CA subsystem installation fails.
Expected results:
CA subsystem installation succeeds.
Additional info:
From what I've gathered, the trouble is with generating 'pki_pin', which is then stored to 'pki_shared_pfile' which is used to access the /etc/pki/pki-tomcat/alias NSS database. However, 'pki_pin' is just a number and NSS databases in FIPS mode require at least one non-alphanumeric character.
Tested on: pki-ca-10.4.1-6.el7.noarch
kra-clone-prepare fails if the password have "=" in password.conf
password.conf:
#internal=YoYEw1lgY6'4
internal=Z?t9:f/0B%+=
internaldb=Secret123
replicationdb=1156996686
Comment 8Endi Sukma Dewata
2017-06-01 17:27:20 UTC
The kra-clone-prepare calls pki CLI which reads the password.conf to export KRA certificates and keys from the NSS database into a PKCS #12 file. The problem is the pki CLI treats the "=" in the file as delimiter for token name and password, so the password is parsed incorrectly.
One possible solution is to provide separate pki CLI parameters for a password file containing just a single password (without token name), and for a password.conf which may contain multiple token names and passwords.
Comment 9Endi Sukma Dewata
2017-06-01 20:50:08 UTC
Another possibility is not to use equal sign in random passwords.
Comment 10Red Hat Bugzilla Rules Engine
2017-06-02 17:11:27 UTC
Quality Engineering Management has reviewed and declined this request. You may appeal this decision by reopening this request.
Comment 11Endi Sukma Dewata
2017-06-02 17:19:26 UTC
Tested in version: pki-server-10.4.1-9.el7.noarch
RHCS subsystems CA, KRA, OCSP, TKS and TPS installed successfully on a FIPS and non-FIPS RHEL 7.4 systems with the auto generated FIPS compliant passwords. Sanity tests looks good for each subsystem.
Marking the bug verified.
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, 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-2017:2110
Created attachment 1226356 [details] Failing pkispawn configuration Description of problem: Running pkispawn -s CA with the config file from the attachment ends up in pkispawn error. Version-Release number of selected component (if applicable): pki-base-10.3.3-14.el7_3 How reproducible: Always Steps to Reproduce: 1. Setup your system for FIPS 2. run pkispawn with the given config (you can run ipa-server-install to make it easier for you) Actual results: CA subsystem installation fails. Expected results: CA subsystem installation succeeds. Additional info: From what I've gathered, the trouble is with generating 'pki_pin', which is then stored to 'pki_shared_pfile' which is used to access the /etc/pki/pki-tomcat/alias NSS database. However, 'pki_pin' is just a number and NSS databases in FIPS mode require at least one non-alphanumeric character.