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

|
Configuring ESX to use a 128-bit cipher for web access and vSphere Client
Purpose
Resolution
To create a 128-bit cipher, you need to create a new SSL certificate for the ESX host.
To create the new certificate:
- Put the host into Maintenance Mode.
- Back up the existing SSL key and certificate. Run this command to move the existing SSL key:
# mv /etc/vmware/ssl/rui.* /tmp/
- Modify hostd to regenerate a 128-bit key:
- Run this command to edit the hostd file:
# vi /etc/init.d/mgmt-vmware
- Change this line from:
/usr/bin/openssl req -new -x509 -keyout "$sslDir"'/rui.key' \
to:/usr/bin/openssl req -newkey rsa:2048 -x509 -keyout "$sslDir"'/rui.key' \
- Save the changes.
- Run this command to edit the hostd file:
- Reboot your host to allow it to begin using the new certificate, or restart the host services:
- Restart hostd, using this command:
Caution: Ensure Automatic Startup/Shutdown of virtual machines is disabled before running this command or you risk rebooting the virtual machines. For more information, see Restarting hostd (mgmt-vmware) on ESX hosts restarts hosted virtual machines where virtual machine Startup/Shutdown is enabled (1003312).service mgmt-vmware restart
- Restart vmkauthd, using this command:
service vmware-vmkauthd restart
- Restart hostd, using this command:
- Exit Maintenance Mode.
- Check
/etc/vmware/sslto ensure you see two files,rui.keyandrui.crt.
Note: ESX 4.x creates certificates with 128-bit ciphers by default.
Tags
See Also
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:
- Product Family:
- Product(s):
- Product Version(s):

