AKA - Another reason to stop using the vSphere C# Client....
I created an OVF template from my vSphere 6.5 environment. When trying to import the template using the vSphere C# Client, I received the following error:
The following manifest file entry (line 1) is invalid: SHA256
vSphere 6.5 started using SHA256 as the default hashing algorithm when exporting OVF templates. Unfortunately, the vSphere Fat/C# Client only supports SHA1.
There a several ways to resolve this issue:
Option 1- Use the Web or HTML 5 client to import the OVF. Both support SHA256.
Option 2. Use the OVFTool to convert the Cryptographic Hash Algorithm from SHA256 to SHA1. This free tool can be downloaded here:
https://www.vmware.com/support/developer/ovf/
Option 3. (Not recommended) If you trust the source of the OVA, you can delete the optional .mf file (manifest file) and just use the .ovf and .vmdk files to import the VM.. The .mf file contains the SHA256 info
I'm a Sr. Systems Engineer at a Global Environmental Engineering company. I've been in IT since 1999 and from 2005, my focus has been VMware datacenter products. More recently, my attention has been for Microsoft Azure services. As the Global Service Owner for VMware Datacenter products, I've had the pleasure of having in-depth and hands-on experience with not only VMware products, but server, storage and networking technologies.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment