Workflows show error after upgrade to 8.18.1 "ERROR rehash: warning: skipping duplicate certificate in imported-{SHA256}.pem"
search cancel

Workflows show error after upgrade to 8.18.1 "ERROR rehash: warning: skipping duplicate certificate in imported-{SHA256}.pem"

book

Article ID: 381794

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

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

 

 

Environment

Orchestrator 8.18.1

Cause

This issue is caused by trying to re-trust certificates that are already trusted by default.

 

Resolution

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