Bug 1624878 - Update v2v docs to describe support for SHA 2 certs required for converting Windows 7 and 2008 R2 guests
Summary: Update v2v docs to describe support for SHA 2 certs required for converting W...
Status: ON_QA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs   
(Show other bugs)
Version: 7.6
Hardware: x86_64
OS: Unspecified
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
Whiteboard: V2V
Keywords: Regression, ZStream
Depends On: 1621895
Blocks: 1651787 1654954 1632788
TreeView+ depends on / blocked
Reported: 2018-09-03 13:24 UTC by Richard W.M. Jones
Modified: 2019-03-01 06:11 UTC (History)
12 users (show)

Fixed In Version: libguestfs-1.40.1-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1624313
: 1632788 1654954 (view as bug list)
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

Description Richard W.M. Jones 2018-09-03 13:24:19 UTC
+++ This bug was initially created as a clone of Bug #1624313 +++

Description of problem:
Can't install virtio for network in win2008r2 and win7 guest after v2v conversion

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

How reproducible:

--- Additional comment from Yan Vugenfirer on 2018-09-03 07:20:55 EDT ---

I think it relates to the fact that now MS is issuing only SHA2 certificates and the images might not be updated to the latest security updates.

For info here:
https://docs.microsoft.com/en-us/security-updates/securityadvisories/2014/2949927 , 

Brief explanation:
1. Drivers for Win7 and Windows 2008R2 were signed with SHA1 signature. And those versions of Windows couldn't correctly parse SHA2 signatures.

2. MS decided that SHA1 is no longer secured and rolled out security updates. From this point drivers could be either SHA1 or SHA2 signed.

3. At some point, MS stopped issuing completely SHA1 certificates (https://support.microsoft.com/en-us/help/3123479/microsoft-security-advisory-deprecation-of-sha-1-hashing-algorithm-for)

4. Attaching signature details for Win7 x64 NetKVM driver

So the solution is to update the images to include SHA2 support.

--- Additional comment from Richard W.M. Jones on 2018-09-03 07:46:34 EDT ---

Does this mean we'll no longer be able to support Windows 7 & 2008R2?
Or did they issue updates to those versions of Windows to allow them
to support SHA2 certs?

In any case this will require some virt-v2v docs changes ...

--- Additional comment from Yan Vugenfirer on 2018-09-03 09:15:52 EDT ---

Updates are downloadable from https://docs.microsoft.com/en-us/security-updates/SecurityAdvisories/2015/3033929

Comment 4 Richard W.M. Jones 2018-09-03 17:38:10 UTC
Upstream in

Comment 6 Pino Toscano 2019-01-17 11:47:00 UTC
This bug will be fixed by the rebase scheduled for RHEL 7.7, see bug 1621895.

Comment 8 liuzi 2019-03-01 06:11:37 UTC
Verify bug with builds:

1.Install latest virt-v2v on RHEL7.7 server.
2.Open virt-v2v manual paper and search info with keyword "SHA-2"
# man virt-v2v|grep "SHA-2" -A 5

Support for SHA-2 certificates in Windows 7 and Windows Server 2008 R2

Later versions of the Windows virtio drivers are signed using SHA-2 certificates (instead of
SHA-1). The original shipping Windows 7 and Windows Server 2008 R2 did not understand SHA-2
certificates and so the Windows virtio drivers will not install properly.

To fix this you must apply SHA-2 Code Signing Support from:
https://docs.microsoft.com/en-us/security-updates/SecurityAdvisories/2015/3033929 before
converting the guest.

For further information see: https://bugzilla.redhat.com/show_bug.cgi?id=1624878

V2V man page has updated the description about "support for SHA-2 certs required for converting Windows 7 and 2008 R2 guests"

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