How do I convert the Holm Security Scanner Appliance ova image from SHA256 to SHA1?
- Download the .ova file of Scanner Appliance from security center.
- Make one folder and move downloaded .ova file to that folder.
- Make a subfolder in that folder and name it is converted .ova file (optional).
- Download the ovf tool from:
https://www.vmware.com/support/developer/ovf/ - Install the ovf tool.
- Open the command prompt in Windows.
- Change the directory to the folder where ovf tool is installed, ex. –
C:\Program Files\VMware>cd “VMware OVF Tool” - CMD prompt will look like –
C:\Program Files\VMware\VMware OVF Tool> - 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
Means, path to the folder where you have stored your .ova file that you have 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
- \path\to\the\original\ova_file.ova
- If you have followed the steps mentioned above, it will show you message (filename will be as per the selected name) –
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.
- 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
- Now, calculate the SHA-1 hash of the .ovf file and replace the hash value in the .mf file
- Verify all the steps.
- Now, import the .ovf template in your VMware, it will work.