Top
ServerView Resource Coordinator VE Setup Guide

Appendix E HTTPS Communications

This appendix explains the HTTPS communication protocol used by Resource Coordinator VE and its security features.

Resource Coordinator VE uses HTTPS communication for the three cases shown in the figure below. Certificates are used for mutual authentication and for encrypting communication data.

Figure E.1 HTTPS Communication

  1. Between the admin client and the admin server, or between the HBA address rename server and the admin server

    The admin client and HBA address rename server automatically obtain a certificate from the admin server at each connection. This certificate is used to encrypt the communicated data.

  2. Between the admin server and managed servers (communication with agents)

    Certificates are created on both the admin server and managed servers when Resource Coordinator VE (manager or agent) is first installed. Certificates of other communication targets are stored at different timings, as described below (refer to "Certificate Creation Timing"). Those certificates are used for HTTPS communication based on mutual authentication.
    When re-installing the manager, its agent certificates (stored on the admin server) are renewed. Because the renewed certificates differ from those stored on the agent side (on managed servers), agents are not able to communicate with the admin server. To avoid such communication issues, it is recommended to backup agent certificates (on the admin server) before uninstalling the manager, and restore them after re-installation. For details on how to backup and restore agent certificates on the admin server, refer to "3.1 Manager Uninstallation" and "2.1 Manager Installation" in the "ServerView Resource Coordinator VE Installation Guide".

  3. Between the admin server and managed servers (communication with VM hosts), or between the admin server and VM management software [VMware]

    The admin server obtains and stores certificates for each connection with a managed server (VM host) or VM management software. Those certificates are used to encrypt communications.


Certificate Creation Timing

Between the admin client and the admin server, or between the HBA address rename server and the admin server.

Certificates are automatically obtained each time HTTPS connections are established. They are not stored on the admin server.

Between the admin server and managed servers (communication with agents)

The certificates used for HTTPS communication are automatically exchanged and stored on the manager and agents on the following occasions:

  • When registering a managed server

  • Right after re-installing and starting an agent

Between the admin server and managed servers (communication with VM hosts), or between the admin server and VM management software [VMware]

Certificates are automatically obtained each time HTTPS connections are established. They are not stored on the admin server.


Types of Certificates

Resource Coordinator VE uses the following certificates.

Between the admin client and the admin server, or between the HBA address rename server and the admin server.

The public keys included in the certificates are created using X.509-based RSA encryption. These keys are 1024 bits long.

Between the admin server and managed servers (communication with agents)

The public keys included in the certificates are created using X.509-based RSA encryption. These keys are 2048 bits long.

Between the admin server and managed servers (communication with VM hosts), or between the admin server and VM management software [VMware]

The public keys included in the certificates are created using X.509-based RSA encryption. These keys are 1024 bits long.


Adding the Admin Server's Certificate to Client Browsers

Resource Coordinator VE automatically generates a unique, self-signed certificate for each admin server during manager installation. This certificate is used for HTTPS communication with admin clients.
Use of self-signed certificates is generally safe within an internal network protected by firewalls, where there is no risk of spoofing attacks and communication partners can be trusted. However, Web browsers, which are designed for less-secure networks (internet), will see self-signed certificates as a security threat, and will display the following warnings.

The above warnings can be disabled by creating a certificate for the admin server's IP address or host name (FQDN) that is specified in the address bar's URL, and installing it to the browser.
On the admin server, a certificate for "localhost" is automatically created during installation of the manager.
When using other servers as admin clients, use the following procedure to install the admin server's certificate on each client.
Therefore, the certificate creation step in the following procedure can be skipped when using the admin server as an admin client. In that case, use "localhost" in the URL and proceed to step 2.

  1. Create a certificate

    1. Open the command prompt on the admin server.

    2. Execute the following command to move to the installation folder.

      [Windows]

      >cd "Installation_folder\Manager\sys\apache\conf" <RETURN>

      [Linux]

      # cd /etc/opt/FJSVrcvmr/sys/apache/conf <RETURN>

    3. After backing up the current certificate, execute the certificate creation command bundled with Resource Coordinator VE (openssl.exe).

      When using the -days option, choose a value (number of days) large enough to include the entire period for which you plan to use Resource Coordinator VE. However, the certificate's expiration date (defined by adding the specified number of days to the current date) should not go further than the 2038/1/19 date.

      Example

      When the Manager is installed in the "C:\Program Files\Resource Coordinator VE" folder, and generating a certificate valid for 15 years (or 5479 days, using the -days 5479 option).

      [Windows]

      >cd "C:\Program Files\Resource Coordinator VE\Manager\sys\apache\conf" <RETURN>
      >..\..\..\bin\rcxadm mgrctl stop <RETURN>
      >copy ssl.crt\server.crt ssl.crt\server.crt.org <RETURN>
      >copy ssl.key\server.key ssl.key\server.key.org <RETURN>
      >..\bin\openssl.exe req -new -x509 -nodes -out ssl.crt\server.crt -keyout ssl.key\server.key -days 5479 -config openssl.cnf <RETURN>
      Loading 'screen' into random state - done
      Generating a 1024 bit RSA private key
      .................++++++
      ................................++++++
      writing new private key to 'ssl.key\server.key'
      -----
      You are about to be asked to enter information that will be incorporated
      into your certificate request.
      What you are about to enter is what is called a Distinguished Name or a DN.
      There are quite a few fields but you can leave some blank
      For some fields there will be a default value,
      If you enter '.', the field will be left blank.
      -----
      Country Name (2 letter code) []: <RETURN>
      State or Province Name (full name) []: <RETURN>
      Locality Name (eg, city) [Kawasaki]: <RETURN>
      Organization Name (eg, company) []: <RETURN>
      Organizational Unit Name (eg, section) []: <RETURN>
      Common Name (eg, YOUR name) [localhost]: IP_addressorhostname (*1) <RETURN>
      Email Address []: <RETURN>

      >..\..\..\bin\rcxadm.exe mgrctl start <RETURN>

      [Linux]

      # cd /etc/opt/FJSVrcvmr/sys/apache/conf <RETURN>
      # /opt/FJSVrcvmr/bin/rcxadm mgrctl stop <RETURN>
      # cp ssl.crt/server.crt ssl.crt/server.crt.org <RETURN>
      # cp ssl.key/server.key ssl.key/server.key.org <RETURN>
      # /opt/FJSVrcvmr/sys/apache/bin/openssl req -new -x509 -nodes -out ssl.crt/server.crt -keyout ssl.key/server.key -days 5479 -config ../ssl/openssl.cnf <RETURN>
      Generating a 1024 bit RSA private key
      .................++++++
      ................................++++++
      writing new private key to 'ssl.key/server.key'
      -----
      You are about to be asked to enter information that will be incorporated
      into your certificate request.
      What you are about to enter is what is called a Distinguished Name or a DN.
      There are quite a few fields but you can leave some blank
      For some fields there will be a default value,
      If you enter '.', the field will be left blank.
      -----
      Country Name (2 letter code) []: <RETURN>
      State or Province Name (full name) []: <RETURN>
      Locality Name (eg, city) [Kawasaki]: <RETURN>
      Organization Name (eg, company) []: <RETURN>
      Organizational Unit Name (eg, section) []: <RETURN>
      Common Name (eg, YOUR name) [localhost]: IP_address_or_hostname (*1) <RETURN>
      Email Address []: <RETURN>

      # /opt/FJSVrcvmr/bin/rcxadm mgrctl start <RETURN>

      *1: Enter the IP address to be entered in the Web browser or the host name (FQDN).

      Example

      IP address: 192.168.1.1
      Host name: myhost.company.com

  2. Add the certificate to the Web browser.

    Open the Resource Coordinator VE login screen following the instructions given in "5.3 RC Console".
    When opening the RC console, enter the same IP address or host name (FQDN) as that used to generate the certificate in the previous step. Once the login screen is displayed, perform the following operations.

    1. Open the [Certificate] dialog.

      • In Internet Explorer 6

        Double-click the key mark displayed in the status bar.

      • In Internet Explorer 7 or 8

        Open the "Certificate is invalid dialog" by clicking the "Certificate error" displayed in the address bar. This will open a "Certificate is not trusted" or " Certificate is invalid" message.
        Click the "Display certificates" link displayed at the bottom of this dialog.

    2. Confirm that the "Issued to" and "Issued by" displayed in the [Certificate] dialog are both set to the IP address or host name (FQDN) used to generate the certificate.

    3. In the [Certificate] dialog, click <Install Certificate>.

    4. The [Certificate Import Wizard] dialog is displayed.

      Click <Next>>.

    5. Select "Place all certificates in the following store" and click <Browse>.

    6. The [Select Certificate Store] dialog is displayed.

      Select the "Trusted Root Certification Authorities" and click <OK>.

    7. Click <Next>>.

    8. Check that "Trusted Root Certification Authorities" is selected and click <Finish>.

    9. Restart the Web browser.

    If multiple admin clients are used, perform this operation on each admin client.

    Note

    Enter the IP address or host name (FQDN) used to generate the certificate in the Web browser's URL bar. If the entered URL differs from that of the certificate, a certificate warning is displayed.

    Example

    A certificate warning is displayed when the following conditions are met.

    • The entered URL uses an IP address while the certificate was created using a host name (FQDN).

    • The admin server is set with multiple IP addresses, and the entered URL uses an IP address different from that used to generate the certificate.