cell-runtime.log
contains the following error message...Caused by: java.security.KeyStoreException: Key protection algorithm not found: java.security.KeyStoreException: Certificate chain is not valid
at java.base/sun.security.pkcs12.PKCS12KeyStore.setKeyEntry(PKCS12KeyStore.java:xxx)
at java.base/sun.security.pkcs12.PKCS12KeyStore.engineSetKeyEntry(PKCS12KeyStore.java:xxx)
at java.base/sun.security.util.KeyStoreDelegator.engineSetKeyEntry(KeyStoreDelegator.java:xxx)
at java.base/java.security.KeyStore.setKeyEntry(KeyStore.java:xxxx)
at com.vmware.vcloud.common.crypto.http.ProductKeyStore.load(ProductKeyStore.java:xxx)
at com.vmware.vcloud.common.ssl.SslSourceFactory.<init>(SslSourceFactory.java:xx)
... 74 more
Caused by: java.security.KeyStoreException: Certificate chain is not valid
at java.base/sun.security.pkcs12.PKCS12KeyStore.setKeyEntry(PKCS12KeyStore.java:xx)
... 79 more
VMware Cloud Director 10.x
Correct the certificate chain to be in the following order:
Primary > Intermediate > Intermediate 2 > Root
The .pem
file should contain only the certificate chain, without any additional clear text or extraneous content. It should follow the format shown below:
-----BEGIN CERTIFICATE-----
<Certificate Information>
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
<Intermediate Certificate Information>
-----END CERTIFICATE-----
-----BEGIN CERTIFICATE-----
<Root Certificate Information>
-----END CERTIFICATE-----
Please ensure there are no extra headers, footers, or comments in the file.
It is mentioned in the below document as well.
For more information:
Import Certificates to the Certificates Library Using Your VMware Cloud Director Service Provider Admin Portal
SSL Certificate Creation and Management of Your VMware Cloud Director Appliance