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.
Bug 2152915 - Not able to install windows 11 OS with vTPM in spec (disable FIPS) [rhel-9.0.0.z]
Summary: Not able to install windows 11 OS with vTPM in spec (disable FIPS) [rhel-9.0....
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: swtpm
Version: 9.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Marc-Andre Lureau
QA Contact: Qinghua Cheng
URL:
Whiteboard:
Depends On: 2090219
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-13 14:52 UTC by RHEL Program Management Team
Modified: 2023-02-28 01:30 UTC (History)
21 users (show)

Fixed In Version: 0.7.0-2.20211109gitb79fd91
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2090219
Environment:
Last Closed: 2023-01-30 15:34:32 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-142000 0 None None None 2022-12-13 15:04:37 UTC
Red Hat Product Errata RHBA-2023:0516 0 None None None 2023-01-30 15:34:35 UTC

Comment 4 Yanqiu Zhang 2023-01-03 10:16:45 UTC
Test for linux guest PASS:
swtpm-0.7.0-3.20211109gitb79fd91.el9_0.x86_64
libtpms-0.9.1-0.20211126git1ff6fe1f43.el9.x86_64
libvirt-8.0.0-8.4.el9_0.x86_64
qemu-kvm-6.2.0-11.el9_0.6.x86_64

# virsh dumpxml avocado-vt-vm1 |grep /tpm -B7
    <tpm model='tpm-crb'>
      <backend type='emulator' version='2.0'>
        <encryption secret='679e1051-ce72-4756-9ad6-ce2c51240f29'/>
        <active_pcr_banks>
          <sha256/>
        </active_pcr_banks>
      </backend>
    </tpm>

# virsh start avocado-vt-vm1 
Domain 'avocado-vt-vm1' started

# cat /var/log/swtpm/libvirt/qemu/avocado-vt-vm1-swtpm.log 
  The TPM's state will be encrypted using a key derived from a passphrase (fd).
Starting vTPM reconfiguration as tss:tss @ Tue 03 Jan 2023 05:12:28 AM EST
Warning: Disabled OpenSSL FIPS mode
Successfully activated PCR banks sha256 among sha1,sha256,sha384,sha512.
Successfully authored TPM state.
Ending vTPM manufacturing @ Tue 03 Jan 2023 05:12:28 AM EST
Warning: Disabled OpenSSL FIPS mode

# virsh console avocado-vt-vm1 
Connected to domain 'avocado-vt-vm1'
Escape character is ^] (Ctrl + ])

localhost login: root
Password: 
Last login: Tue Jan  3 17:42:25 on ttyS0
[root@localhost ~]#  ls /dev|grep tpm
tpm0
tpmrm0
[root@localhost ~]# # tpm2_getrandom --hex 16
[root@localhost ~]#  tpm2_getrandom --hex 16
4e52842d1bf59aacb378a845d23ade2e

Comment 5 Qinghua Cheng 2023-01-05 03:20:16 UTC
Verified on rhel 9.0.0 with windows guest:

kernel: 5.14.0-70.36.1.el9_0.x86_64
qemu-kvm: qemu-kvm-6.2.0-11.el9_0.6.x86_64
libtpms-0.9.1-0.20211126git1ff6fe1f43.el9.x86_64
swtpm-libs-0.7.0-3.20211109gitb79fd91.el9_0.x86_64
swtpm-0.7.0-3.20211109gitb79fd91.el9_0.x86_6

# fips-mode-setup --check
FIPS mode is enabled.

Win11 guest installed successfully

Get message in swtpm log file:

Warning: Disabled OpenSSL FIPS mode

Comment 10 errata-xmlrpc 2023-01-30 15:34:32 UTC
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 (swtpm bug fix and enhancement update), 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-2023:0516


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