This article provides steps to troubleshoot certificate configuration errors in VMware Live Recovery (VLR), specifically addressing the "The private key does not match the certificate's public key" error when importing CA-signed certificates.
When attempting to import a CA-signed certificate via the VAMI, the following error is encountered:
"Operation Failed: The private key does not match the certificate's public key."VMware Live Recovery (VLR) 9.0.5
This error occurs because the CA-signed certificate was not generated from the active Certificate Signing Request (CSR) associated with the private key on the appliance.
This is typically due to multiple CSR attempts or CA portal caching issuing an older certificate.
Generate a new CSR and Private Key: Generate the CSR using the command line to avoid VAMI GUI restrictions:
openssl req -new -nodes -newkey rsa:2048 -keyout vlsr.key -out vlsr.csr -subj "/C=##/ST=##/L=######/O=####/OU=###/CN=####.####.#######.###" -reqexts SAN -config <(cat /etc/ssl/openssl.cnf; printf "\n[SAN]\nsubjectAltName=DNS:####.####.########.###")
Submit the CSR to the CA: Submit the newly generated vlsr.csr to your internal Certificate Authority. Ensure you clear any browser cache or force a "New Request" in the CA portal to prevent the issuance of a cached certificate.
Verify the Cryptographic Pair: Before importing, verify that the private key and the new certificate match by checking the modulus hashes:
openssl rsa -noout -modulus -in vlsr.key | openssl sha256openssl x509 -noout -modulus -in [new_certificate].crt | openssl sha256Import the Certificate: Once verified, proceed with the import process. If additional steps are required, refer to the product documentation.
Reference KB article: Configuring CA signed certificates for SRM, VLSR/or VRMS/or VRS
To speak with a customer representative or a Support Engineer see Contact Support. Scroll to the bottom of the page and click on your respective region.