SSL with CA certificates
To use SSL with CA certificates with Digital Lab (UFT Mobile) and UFT One, you must first install your CA certificates on your computer.
Note: If you are using self-signed certificates, the certificates are installed by default and this topic is not relevant.
Install your CA certificate on the UFT One machine
Install CA certificates on the UFT One machine once for the Digital Lab (UFT Mobile) server, and once for each connector machine.
On the UFT One machine:
-
Open Internet Explorer and navigate to the Digital Lab (UFT Mobile) server or connector machine using the following syntax:
https://<server_name_or_IP_address>:<port>
The default port is 8443, but you can modify this during the Digital Lab (UFT Mobile) installation.
Internet Explorer may display a message about security issues with the website's security certificate.
-
Open the Internet Explorer Options dialog box (Tools > Internet Options), and add the URL to the list of trusted sites.
-
In the Security Zone, select Continue to this website (not recommended).
-
On the page that opens, click: Certificate error > View certificates > Install Certificate.
-
Install the certificate using the wizard.
Select Place all certificates in the following store, and then click Browse.
-
Select Trusted Root Certification Authorities, and then complete the wizard.
If a security warning appears, click Yes to confirm the installation.
-
-
In Internet Explorer, refresh the Digital Lab (UFT Mobile) server or connector machine URL, and verify that there are no SSL certificate-related errors.
Note: In most cases, SSL-related errors are generated by the operating system.
-
In the UFT One Options dialog, enter your Digital Lab (UFT Mobile) server address and port. Click Test Connection to verify that UFT One can now successfully connect to the Digital Lab (UFT Mobile) server.
For more details, see Connect to Digital Lab or local mobile devices.
Install your CA certificates on a Jenkins machine
If you are running your UFT One tests from Jenkins and are using CA certificates with SSL, you must install the certificates on the UFT One computer and on the Jenkins computer.
For more details, see Install your CA certificate on the UFT One machine.
On the Jenkins machine:
Export the CA certificate
-
Open Internet Explorer, and browse to the HTTPS URL of the secure Digital Lab (UFT Mobile) server.
When prompted about the website's security, click Continue to this website.
-
Click the Certificate error in the title bar, and then click View certificates.
-
In the Certificate dialog box, click the Details tab, and then click Copy to File.
-
In the export wizard, select the DER encode binary X.509 option, and then click Next.
-
Specify a name for the certificate, for example, mc.cer.
Click Next and then Finish.
Install the CA certificate
Run the following script in the <jenkins installation>\jre\bin folder:
keytool.exe -import -file "{cer file path}" –keystore "{jenkins_installation_path}\jre\lib\security\cacerts" -alias mc -storepass changeit –noprompt
For example:
keytool.exe -import -file "C:\Users\Administrator\Desktop\mc.cer" -keystore "C:\Program Files (x86)\Jenkins\jre\lib\security\cacerts" -alias mc -storepass changeit -noprompt
See also: