Importing certificates into Aria Suite Lifecycle Manager fails with the error: "Failed to parse private key."
search cancel

Importing certificates into Aria Suite Lifecycle Manager fails with the error: "Failed to parse private key."

book

Article ID: 408525

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite)

Issue/Introduction

While importing certificates into the Locker in Aria Suite Lifecycle Manager, the process fails with the following error:

"Failed to parse private key"


Similar errors can we observed on /var/log/vrlcm/vmware_vrlcm.log :

#####-##-#####:##:##.#### ERROR vrlcm[1283] [http-nio-8080-exec-2] [c.v.v.l.l.c.InputValidationExceptionHandlingController]  -- Handling PKIException with error message: Failed to parse private key.

Environment

Aria Suite Lifecycle 8.x

Cause

This error occurs when the Private key certificate is missing on the certificate chain.

Resolution

Note : If a CSR is generated using Aria Suite Lifecycle, you will be prompted to specify a location to save the CSR file. This generated file includes both the CSR and the associated private key.

To ensure successful import operations, always include the private key in the certificate chain (.pem file). Reference Doc : Manage certificates for VMware Aria Suite Lifecycle products