Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Importing certificates issued by an OpenSSL CA

Symptoms

  • SSL certificate do not import
  • Converting an Open SSL certificate to PKCS7 format
  • You receive the following errors:

    • Bad padding exception
    • Given final block not properly padded

Resolution

To import an OpenSSL certificate:
  1. Create the keys.p12 and .CSR file according to the VDM Installation and Administration Guide.
  2. Copy the .CSR file to the OpenSSL CA server.
  3. Open a command prompt.  For more information, see Opening a command or shell prompt (1003892) .
  4. Run the following command:

    openssl ca -in <vdmserver>.csr -out <nameofcertificate>.pem -config <nameofopensslconfigfile>.cnf

  5. Use the certificate creator to remove the header portion of the PEM certificate file created.
  6. Copy the .PEM file to the Connection Server and o pen the file using Windows Explorer.
  7. Click Details > Copy to File.
  8. Click PKCS7.
  9. Select Include Details of Certificate.
  10. Save the file with a .P7B extension.
  11. Run the keytool import command and select the .P7B file created in step 10.

Additional Information

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback


Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
Actions