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
Aria Automation Orchestrator 8.18.1
This warning occurs when the Aria Automation Orchestrator attempts to re-import trusted certificates that are already included in the Orchestrator CA trust store.
These duplicate entries are identified during the rehashing process, resulting in the warning message.
Note: Please make sure you have valid backups or snapshots of the Automation Orchestrator appliance(s).
There are two workarounds available to prevent this warning:
Remove the trusted root certificates that are already present in the Aria Orchestrator CA trust store to avoid duplication.
To do this, first you will want to locate the certificate that was identified in the error. There are 2 ways you can perform this check.
Steps:
Disable importing the trusted certificates into Polyglot by setting the com.vmware.o11n.polyglot.import-trusted-certificates
system property to false.
SSH into the Orchestrator appliance.
Run the following command: