Symptoms:
While importing a SHA1 signed OVF/OVA into content library or deploying a SHA1 signed OVF/OVA, UI displays a message '
The certificate is not trusted' as certificate chain cannot be validated.
To avoid this message, we need to add the certificate chain to the VECS Trusted Store. However, when we try to add the SHA1 root certificate to VECS store from CLI we get below error:
# /usr/lib/vmware-vmafd/bin/dir-cli trustedcert publish --cert /ovf_test.cert --login '{USERNAME}' --password '{PASSWORD}' --chainwhere
[email protected] and PASSWORD is the password for the given user.
Certificate with subject 'C=US, ST=test, L=test, O=test, OU=test, CN=test/emailAddress=test' uses unsafe digest algorithm
dir-cli failed. Error 90022: Certificate's signature algorithm is weak