VMware Vcloud Director cell service will not come up after certificate renewal - 'Certificate chain is not valid'
search cancel

VMware Vcloud Director cell service will not come up after certificate renewal - 'Certificate chain is not valid'

book

Article ID: 378898

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

  • VMware Vcloud Director cell service will not come up after certificate renewal 
  • In cell-runtime.log under /opt/vmware/vcloud-director/logs , we see errors as below: 
Key protection algorithm not found: java.security.KeyStoreException: Certificate chain is not valid

Environment

VMware Vcloud Director 10.x

Cause

This happens if the certificate chain is out of order. 

Resolution

  • Cert chain should be in the following order : Server, Intermediate and then Root certificate.
  • Take a backup of the .crt , .pem or ,pfx file in use and update the chain in the above order 
  • Additionally, verify there are no spaces or unwanted characters between the certificates. 

    Certificate file's content should look like this:

    -----BEGIN CERTIFICATE-----
    xxxx
    -----END CERTIFICATE-----
    -----BEGIN CERTIFICATE-----
    xxxx
    -----END CERTIFICATE-----
    -----BEGIN CERTIFICATE-----
    xxxx
    -----END CERTIFICATE-----


Note:
Since 10.5.1 and later, the Service Admin portal needs to be accessible as that is the only supported way to update cell certificates. In cases where the portal is not accessible any more, try one of the options below : 

 

Additional Information