Running polyglot scripts might show an error similar to:
ERROR rehash: warning: skipping duplicate certificate in imported-{SHA256}.pem
or
----- End Run log ------
2024-11-12 09:48:27.243 -05:00infoExit code:0
2024-11-12 09:48:27.543 -05:00errorrehash: warning: skipping duplicate certificate in imported-{SHA256}.pem
Orchestrator 8.18.1
This issue is caused by trying to re-trust certificates that are already trusted by default.
Workaround 1: Remove Trusted Root Certificates from the Orchestrator CA trust store. You can do this by using the new certificate management workflows.
Workaround 2: Disable importing the trusted certificates into polyglot by setting the com.vmware.o11n.polyglot.import-trusted-certificates system property to false. This is done by SSH-ing into the orchestrator appliance and running the following command:
vracli vro properties set -k com.vmware.o11n.polyglot.import-trusted-certificates -v false