Renewing CA signed certificate returns error
search cancel

Renewing CA signed certificate returns error

book

Article ID: 404010

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

  • While replacement Orchestrator certificates with custom CA you get error "local variable 'success' referenced before assignment"

  • CSR was not generated inside Orchestrator 

Environment

8.x

Cause

Certificate was malformed during CSR creation and end certificate is not being accepted by Certificate manager script

Resolution

Additional Information

On step 6 if any errors seen, you can force the certificate using the following commands:

  • Run command the following command in order to force the certificate installation:
    vracli certificate ingress --set stdin --force
  • Paste the PEM, same as step 2, and press CTRL+D
  • Apply the PEM on all appliances by running the following command: