To resolve this issue, deploy vIC via the vSphere Web Client or ESXi Embedded Host Client because both support SHA256.
However, if you still want to automate your deployments, you must convert the OVA from the Cryptographic Hash Algorithm SHA256 to SHA1.
To do this, you can use OVFTool which is available on all OS at: https://www.vmware.com/support/developer/ovf/
Note: If your file is an .ovf file, you can use the instructions at Converting an OVF Package to an OVA Archive to convert it to an .ova file first.
To do the conversion, run this command: