Configuration Guide

This help article applies to CloudShell 9.3. To see the latest, click here.

You are here: Installing the TestShell test type plugin > Configuring HP ALM to Run in HTTPS Mode

Configuring HP ALM to Run in HTTPS Mode

Perform this procedure if Quali Server is running in HTTPS mode. In this procedure, you will copy the plugin’s folders to the HP ALM server and configure the CloudShell user that will be used to access TestShell. This procedure needs to be performed only once to integrate TestShell with HP ALM.

To configure HP ALM to run in HTTPS mode:

  1. Before you start, do the following:

    1. Make sure you set CLOUDSHELL_IGNORE_SSL_ERRORS=true in the Site Configuration tab, as explained in HP ALM Installation procedure.
    2. Restart the HP Application Lifecycle Management service.
  2. In the Quali Server machine, open the Server installation directory's customer.config file (usually at C:\Program Files (x86)\QualiSystems\CloudShell\Server\customer.config).
  3. Add the following keys:

    <add key="QualiApi.Address" value="https://{Quali Server Address}"/>

    • {Quali Server Address} is Quali Server's hosname or IP

    <add key="PortalAddressLinkForEmails" value="protocol://Portal:PortalPort"/>

    • protocol is "http" or "https" if CloudShell Portal is set to use SSL
    • Portal is CloudShell Portal's hostname or IP
    • PortalPort is the port which CloudShell Portal is using (If the port is 443, which is the default https port, remove this parameter and the colon from the key)
  4. Restart Quali Server service.
  5. If you don’t have an SSL certificate on the Quali Server, create a self-signed certificate for port 9000 using this PowerShell script:

    if(-not [string]::IsNullOrEmpty($Env:UserDnsDomain)) {

    $Subject = "${Env:ComputerName}.${Env:UserDnsDomain}"

    }

    else {

    $Subject = $Env:ComputerName

    }

    $certificate = New-SelfSignedCertificate -DnsName $Subject -CertStoreLocation "cert:\LocalMachine\My"

    $thumb = $certificate.GetCertHashString()

    & netsh http add sslcert ipport=0.0.0.0:9000 certhash=$thumb appid=`{1b1e7a9d-1af7-4922-88b9-8220e09cc072`}