VCF Automation: CERTIFICATE_VERIFY_FAILED Upstream Connect Error After Velero Restore
search cancel

VCF Automation: CERTIFICATE_VERIFY_FAILED Upstream Connect Error After Velero Restore

book

Article ID: 461336

calendar_today

Updated On:

Products

VCF Automation

Issue/Introduction

Users are unable to access the VCF Automation site web portal. When attempting to navigate to the user interface, the browser displays the following upstream connection failure error message:

upstream connect error or disconnect/reset before headers. reset reason: remote connection failure, transport failure reason: TLS_error:|#########:SSL routines:OPENSSL_internal:CERTIFICATE_VERIFY_FAILED:TLS_error_end

Additional symptoms in the prelude namespace include:

  • Multiple certificate objects report a Ready = False status.

  • Stale CertificateRequest objects exist from a prior Velero restore operation.

  • Package deployments and Helm releases are stalled in a dependency wait state waiting on prelude/vmsp-prelude-deployer.

Environment

VCF Automation 9.1.0

Cause

Stale CertificateRequest objects carrying a legacy restore label alongside an unrotated PostgreSQL certificate secret blocked cert-manager from issuing renewed, valid TLS certificates.

Resolution

  1. Delete the stale PostgreSQL certificate secret to trigger automatic recreation by the certificate operator:kubectl delete secret vcfapostgres-postgres-cert-secret -n prelude

  2. Remove all stale CertificateRequest objects associated with the prior Velero restore phase:kubectl delete certificaterequest -n prelude -l velero.io/restore-name=vcfa-restore-phase6

  3. Monitor cert-manager reconciliation and verify that all certificates transition to a healthy READY: True status:kubectl get certificate -n prelude

  4. Resolve stalled deployment dependencies by restarting the Terraform pod:kubectl delete pod -l app=terraform -n prelude

  5. Monitor package deployments, Helm releases, and pod initialization until all services return to a running state:kubectl get pd -n preludekubectl get hr -n preludekubectl get pods -n prelude