VIC Plugin VCH create errors with "Failed to parse client certificate PEM file!"
search cancel

VIC Plugin VCH create errors with "Failed to parse client certificate PEM file!"

book

Article ID: 317066

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • When deploying a VCH with certificates, the VIC plugin wizard fails with the message "Failed to parse client certificate PEM file!"
  • The certificate has carriage return line endings.


Environment

VMware vSphere Integrated Containers 1.4.x
VMware vSphere Integrated Containers 1.5.x

Resolution

Convert the line endings from Windows type line endings to Unix type line endings. There are multiple ways to do this. The following is an example using Notepad++
  1. Open the certificate file in Notepad++
  2. Navigate to Edit > EOL Conversion > Unix (LF)
  3. Save the file
  4. Repeat for the key file and any other certificates needed.