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:
Before you start, do the following:
- Make sure you set CLOUDSHELL_IGNORE_SSL_ERRORS=true in the Site Configuration tab, as explained in HP ALM Installation procedure.
- Restart the HP Application Lifecycle Management service.
- 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).
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 SSLPortal
is CloudShell Portal's hostname or IPPortalPort
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)
- Restart Quali Server service.
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`}