Skip to content
  • There are no suggestions because the search field is empty.

How do I convert the Scanner Appliance OVA image from SHA256 to SHA1?

This article explains how to convert the Scanner Appliance OVA image from the SHA256 hash algorithm to SHA1. You only need to do this if you deploy the OVA with an older vSphere Client, or with PowerCLI and the Get-OvfConfiguration cmdlet. These tools do not support SHA256 and show the error "The OVF package is invalid and cannot be deployed". If you can, deploy the original OVA with the vSphere Web Client or the ESXi Embedded Host Client instead. Both support SHA256, so you do not need to convert anything.

Requirements

  • A Windows computer with VMware OVF Tool installed.

Steps

  1. In Security Center, hover over Assessments and select Scanner appliances. Click + Add appliance, choose On-Premise, click Get started and download the OVA image.
  2. Create a folder and move the downloaded .ova file into it.
  3. Optional: Create a subfolder in that folder for the converted .ova file.
  4. Download the ovf tool from: 
    https://www.vmware.com/support/developer/ovf/
  5. Install the ovf tool.
  6. Open the command prompt in Windows.
  7. Go to the folder where OVF Tool is installed, for example:
    cd "C:\Program Files\VMware\VMware OVF Tool"
  8. CMD prompt will look like –
    C:\Program Files\VMware\VMware OVF Tool>
  9. Run the following command –
    ovftool.exe --shaAlgorithm=SHA1 \path\to\the\original\ova_file.ova \path\to\the\new\ova\file-SHA1.ova
    • \path\to\the\original\ova_file.ova
      The full path and file name of the .ova file you downloaded from Security Center.
    • \path\to\the\new\ova\file-SHA1.ova
      Means path to the folder where you want to store your SHA1 converted .ova file.
      Source : https://kb.vmware.com/s/article/2151537
  10. When the conversion succeeds, you see a message like this (the file names match the ones you chose):
    Opening OVA source: \path\to\the\original\ova_file.ova
    The manifest validates
    Opening OVA target: \path\to\the\new\ova\file-SHA1.ova
    Opening OVA target: \path\to\the\new\ova\file-SHA1.ova
    Transfer Completed
    Warning:
    • ExtraConfig option ‘nvram’ is not allowed, will skip it.
    • ExtraConfig option ‘virtualhw.productcompatibility’ is not allowed, will skip it.
      Completed successfully.
  11. If the following error appears when an OVF template is deployed on an older version of VMware ESXi: The OVF package requires unsupported hardware "Unsupported hardware family vmx-##", please follow the steps in this article: https://support.holmsecurity.com/knowledge/how-do-i-solve-common-problems-in-versions-5.5-of-vmware-vsphere-esxi
  12. Deploy the new SHA1 .ova file with your vSphere Client.

Related articles