Knowledge Base

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

Replacing the vCenter Multi-Hypervisor Manager Certificate and Configuring a New vCenter Server Certificate (2039444)

Purpose

You might need to replace the default vCenter Multi-Hypervisor Manager certificate with a certificate signed by a certificate authority or with a custom self-signed certificate. In case you have replaced the vCenter Server certificate, you must pass the thumbprint of the new certificate to the vCenter Multi-Hypervisor Manager server.

Resolution

To replace the certificates:

Note: You can run the repair option to replace the certificates since Multi-Hypervisor Manager 1.1.

  1. Log in to the machine of the vCenter Multi-Hypervisor Manager server as administrator or as a user that has rights to run the vCenter Multi-Hypervisor Manager service.

  2. Stop the vCenter Multi-Hypervisor Manager service in case it's running.

  3. In the root installation directory of the vCenter Multi-Hypervisor Manager server, open a command prompt and run the mhmd executable with the following arguments:

    Argument Description
    -C path Path to the extension.xml file in the vCenter Multi-Hypervisor Manager installation
    -l vCenter_IP_or_hostname IP address or host name of the vCenter Server System
    -n vCenter_username User name to log into vCenter Server
    -p vCenter_password Password to log into vCenter Server
    -g path Path to the mhm.cfg file in the vCenter Multi-Hypervisor Manager Installation
    -t vCenter_cert_thumbprint Thumbprint of the current vCenter Server certificate. You must always pass the thumbprint even if you have not replaced the vCenter certificate.
    -k path Path to the private key of the new vCenter Multi-Hypervisor Manager certificate. This argument is optional.
    -K path Path to the public key of the new vCenter Multi-Hypervisor Manager certificate. This argument is optional.

    Note: Omit the last two arguments if you have replaced the vCenter Server certificate and you want to pass only the new vCenter Server certificate without replacing the vCenter Multi-Hypervisor Manager certificate.

    Example: Replace the vCenter Multi-Hypervisor Manager Certificate

    C:\Program Files\VMware\Infrastructure\VMware vCenter MHM\mhmd.exe" ^
    -C "C:\Program Files\VMware\Infrastructure\VMware vCenter MHM\extension.xml" ^
    -l http://10.23.123.119:80 ^
    -n "John Smith" ^
    -p "123456" ^
    -g "C:\ProgramData\VMware\VMware vCenter MHM\mhm.cfg" ^
    -t 04:B3:69:C3:8D:B4:F2:4F:56:A7:F9:FE:A7:AB:FE:8E:DD:06:31:68 ^
    -k "C:\temp\rui.key" ^
    -K "C:\temp\rui.crt"

Tags

Multi-Hypervisor Manager, MHM, Certificate

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

  • 1 Ratings

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)
  • 1 Ratings
Actions
KB: