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:

  1. Open Internet Explorer and navigate to the Digital Lab (UFT Mobile) server or connector machine using the following syntax:


    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.

  2. Open the Internet Explorer Options dialog box (ToolsInternet Options), and add the URL to the list of trusted sites.

    1. In the Security Zone, select Continue to this website (not recommended).

    2. On the page that opens, click: Certificate error > View certificates > Install Certificate.

    3. Install the certificate using the wizard.

      Select Place all certificates in the following store, and then click Browse.

    4. Select Trusted Root Certification Authorities, and then complete the wizard.

      If a security warning appears, click Yes to confirm the installation.

  3. 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.

  4. 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.

Back to top

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

  1. 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.

  2. Click the Certificate error in the title bar, and then click View certificates.

  3. In the Certificate dialog box, click the Details tab, and then click Copy to File.

  4. In the export wizard, select the DER encode binary X.509 option, and then click Next.

  5. 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

Back to top

See also: