Uploaded image for project: 'Satellite'
  1. Satellite
  2. SAT-25748

RHEL9 clients with FIPS mode, failed to upload compliance report to Satellite and fails with exception(Unable to load certs)

XMLWordPrintable

    • Important
    • Yes

      Description of problem:

      RHEL9 clients with FIPS mode failed to upload compliance reports to Satellite and fails with exception(Unable to load certs)

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

      6.12.z

      How reproducible:

      100%

      Steps to Reproduce:

      1. RHEL9 clients with FIPS mode
      2. Compliance policy is configured and push to the client host, policy is updated on the client however compliance scan fails with the below error:-

      Actual results:

      1. /usr/bin/foreman_scap_client ds 2
        DEBUG: running: oscap xccdf eval --profile xccdf_org.ssgproject.content_profile_cis --results-arf /tmp/d20230207-13679-39jgxn/results.xml /var/lib/openscap/content/5d420b764d7c13ef8ddb6e8f0c76094fa9df9848881be58a9361ddfb8e988824.xml
        WARNING: Datastream component 'scap_org.open-scap_cref_security-data-oval-com.redhat.rhsa-RHEL9.xml.bz2' points out to the remote 'https://access.redhat.com/security/data/oval/com.redhat.rhsa-RHEL9.xml.bz2'. Use '--fetch-remote-resources' option to download it.
        WARNING: Skipping 'https://access.redhat.com/security/data/oval/com.redhat.rhsa-RHEL9.xml.bz2' file which is referenced from datastream
        WARNING: Skipping ./security-data-oval-com.redhat.rhsa-RHEL9.xml.bz2 file which is referenced from XCCDF content
        DEBUG: running: /usr/bin/env bzip2 /tmp/d20230207-13679-39jgxn/results.xml
        Uploading results to https://satellite.example.com:9090/compliance/arf/2

      Unable to load certs =========================================> Error.
      Neither PUB key nor PRIV key

      Expected results:

      The compliance report should be uploaded without any issues.

      Additional info:

      ~~~~~~~~~~
      => RHEL8 clients with FIPS mode are working as expected.
      => Key is also 4096-bit:

      1. openssl x509 -noout -text -in /etc/rhsm/ca/katello-server-ca.pem | grep Public-Key
        Public-Key: (4096 bit)
      2. openssl x509 -noout -text -in /etc/pki/consumer/cert.pem | grep Public-Key
        Public-Key: (4096 bit)
      3. openssl x509 -noout -text -in /etc/pki/katello/certs/katello-default-ca.crt | grep Public-Key
        ~~~~~~~~~~~~

          There are no Sub-Tasks for this issue.

              jira-bugzilla-migration RH Bugzilla Integration
              rhn-support-sadas Satyajit Das
              Peter Ondrejka Peter Ondrejka
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: