Knowledge Base
The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides

|
Configuring OpenSSL for installation and configuration of CA signed certificates in the vSphere environment (2015387)
Purpose
Resolution
Overview
OpenSSL can be used for creating certificate requests and also as a certificate authority. Although the steps that are used to generate the certificate are different, the setup and configuration steps are the same as the certificates that vSphere uses are X.509 v3 SSL certificates. Only the way in which the actual certificate is generated is different.
Setup
To setup OpenSSL:
- Ensure that the Microsoft Visual C++ 2008 Redistributable Package (x86) is installed on the system on which you want to generate the requests. To download the package, see the Microsoft Download Center.
- Download the Shining Light Productions installer for OpenSSL x86 (version 0.98r or later) at http://www.slproweb.com/products/Win32OpenSSL.html. This is a software developed from the OpenSSL Project.Download Win64 OpenSSL v1.0.1e Light for 64-bit Windows
- Launch the installer and proceed through the installation and note the appropriate directory for later use. By default, it is located at c:\OpenSSL-Win32.
After this program is installed, you must configure it to issue vSphere certificates.
Note: The preceding links were correct as of March 16, 2012. If you find a link is broken, provide feedback and a VMware employee will update the link.
Configuration
To configure OpenSSL follow these steps:
- Take a backup of the openssl.cfg file. By default, this file is located at the c:\OpenSSL-Win32\bin directory.
- Replace the contents of the file with:
Note: Replace the code in Red with the details of the server that you are configuring.
[ req ]
default_bits = 2048
default_keyfile = rui.key
distinguished_name = req_distinguished_name
encrypt_key = no
prompt = no
string_mask = nombstr
req_extensions = v3_req
[ v3_req ]
basicConstraints = CA:FALSE
keyUsage = digitalSignature, keyEncipherment, dataEncipherment
extendedKeyUsage = serverAuth, clientAuth
subjectAltName = DNS:vc50, DNS:10.0.0.10, DNS:vc50.vmware.com
[ req_distinguished_name ]
countryName = US
stateOrProvinceName = NY
localityName = New York
0.organizationName = VMWare
organizationalUnitName = vCenterInventoryService
commonName = vc50.vmware.com - Save and close the file.
The installation is now set to configure a certificate for the server that you have entered in the file. You can repeat this configuration by creating separate files for each server request or by not specifying a value. If you do not specify a value, OpenSSL prompts you for the information.
Note: The preceding modified file will not prompt you for information because all information is configured within the file.
Additional Information
For more information on configuring CA signed certificates, see:
See Also
- Implementing CA signed SSL certificates with vSphere 5.0
- Implementing CA signed SSL certificates with vSphere 5.1
Update History
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.
Actions
KB:
- Updated:
- Categories:
- Languages:
- Product Family:
- Product(s):
- Product Version(s):

