vCenter Server Service Status plug-in cannot be enabled
search cancel

vCenter Server Service Status plug-in cannot be enabled

book

Article ID: 310753

calendar_today

Updated On:

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

Symptoms:
  • You cannot enable the vCenter Server Service Status plug-in
  • The vCenter Server Service Status shows as Disabled
  • When you try to enable the plug-in, you see the error:

    The following error occured while downloading the script plugin from https://vCenter:8443/health-ui/scriptConfig.xml: Unable to connect to the remote server
     
  • Tomcat is not listening on TCP port 8443


Environment

VMware vCenter Server 4.1.x
VMware vCenter Server 5.0.x
VMware vCenter Server 4.0.x
VMware vSphere Web Access 4.0.x

Cause

This issue can occur if the keystorePass parameter in code>C:\Program Files\VMware\Infrastructure\tomcat\conf\server.xml is changed from testpassword to password. Changing the keystorePass parameter from the default, testpassword, is not permitted.

If you encounter a similar issue, with Tomcat listening on Port 8443, see Generating custom or default SSL certificates (1029944) .

Resolution

To begin troubleshooting this issue, ensure that the VirtualCenter Management Web Service is running. If it is not, start the service and try to enable the plug-in.

If starting the VirtualCenter Management Web Service does not resolve the issue, then an incorrect password may be stored in server.xml.

To correct the stored password:

  1. Stop the vCenter services. For more information, see Stopping, starting, or restarting vCenter services (1003895).
  2. Open %PROGRAMFILES%\VMware\Infrastructure\tomcat\conf\server.xml using a text editor.
  3. Search for < Connector port="8443". (Note: Add the entry port="8443" if it is not available) 

    This line refers to the rui.pfx certificate file that changes when you update your certificate.
    Sample section of file looks similar to this:

    <Connector port="8443" protocol="HTTP/1.1" SSLEnabled="true"</FONT>

    maxThreads="150" scheme="https" secure="false"

    clientAuth="false" sslProtocol="TLS"

    keystoreFile="C:\ProgramData\VMware\VMware VirtualCenter\SSL\rui.pfx"

    keystorePass="testpassword" keystoreType="PKCS12" />

  4. Update keystorePass= to the rui.pfx certificate password. The default password for self-signed certificates is testpassword.

    Note: The password rui.pfx cannot be blank. If you are having troubles with the vCenter Server certificates, see Replacing vCenter Server Certificates for VMware vSphere 4.0.

     
  5. Restart the vCenter services. For more information, see Stopping, starting, or restarting vCenter services (1003895).
  6. In your web browser go to https://vcenter:8443/health-ui//scriptConfig.xml.


Additional Information

For more extensive troubleshooting for vCenter Server plugins, see Performance Overview charts fail with STATs Report Service internal error (1012812).

How to stop, start, or restart vCenter Server services
Performance Overview charts fail with STATs Report service internal error
Generating custom or default SSL certificates
无法启用 vCenter Server Service Status 插件
vCenter Server サービス ステータス プラグインを有効にできない