Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SVC2021.1

...

  1. Close Virtualize if it is currently open.

  2. Identify the location of the server certificate used for the HTTPS connection.
  3. Ensure that this certificate’s COMMON NAME parameter contains both the server’s machine name and the subdomain (for example, machine.company.com).
  4. Copy the certificate to the following location:

    <virtualize_install_dir>/plugins/com.parasoft.xtestptest.libs.web_<virtualize_version_number>/root/lib

     
    This directory should contain a cacerts file in which the trusted certificates are stored.

  5. Execute a command of the following format:

    keytool -import -alias <certificate_alias> -file <certificate_file> -keystore cacerts


    For example, if your certificate file is named test.cert, you would execute the following command from the<virtualize_install_dir>the <INSTALL>/plugins/com.parasoft.xtestptest.libs.web_<virtualize_version_number><VERSION>/root/lib prompt directory:


    keytool -import -alias serverTrustCert -file test.cert -keystore cacerts


    This will import the certificate into the cacerts file with the alias "serverTrustCert".

    Info
    iconfalse
    titlekeytool path must be set

    Before executing keytool commands, you must first set your path to include Java's keytool executable. You can use the version of the Java binaries that ship withVirtualize.To add the included Java binaries to your path, open a command line prompt and enter the following before referencing the keytool:

    PATH =%PATH%; <Parasoft Test install dir>\<Parasoft Test version number> <INSTALL>\plugins\com.parasoft.xtestptest.jdk.eclipse.core.web.<OS>.<arch><ARCH>_<java_version><VERSION>\jdk\binNote that <Parasoft Test install dir> references the location where Parasoft Test is installed (e.g., "C:\Program Files\Parasoft\Test" on Windows), <arch> refers to the architecture (e.g.,  win32.x86, linux.x86, win32.x86_64, or linux.x86_64), and <java_version> references the Java version included with your Parasoft Test installation.

  6. When prompted to enter a keystore password, enter changeit.
  7. When asked whether you want to trust this certificate, enter yes. You will then see a message indicating that the certificate has been added to the keystore.
  8. (Optional) Verify that the certificate has been added to the keystore by entering the following command, then checking the file that opens:
    keytool -list -keystore cacerts
  9. Launch Virtualize and try to access the service again.

...