SSL Certificate
Qualitia Automation Studio (QAS) now supports a secure server portal with SSL certificates, providing secure and authenticated connections. HTTPS encryption ensures secure communication between the Qualitia - Client and Server, protecting against data breaches, tampering, and eavesdropping. This is essential for safeguarding sensitive information on servers that require secure connections, emphasizing user privacy and security.
Fresh installations launch on HTTPS by default with pre-bundled certificates, using the default port 443 without requiring manual configuration. Additionally, you have the flexibility to switch between HTTPS and HTTP as needed.
What is SSL Certificate?
The SSL certificate is a digital certificate that is used for authentication of a website. It creates a secure connection between the client and the web server. When the certificate is installed, it changes the website from HTTP to HTTPS.
📚Prerequisites
To use HTTPS, ensure that the DNS server is configured for the server URL.
Steps to configure DNS Server for Server URL
Navigate to C:\Windows\System32\drivers\etc.
Open the hosts file in a text editor.
Add {Server IP} {abc}.qualitia.ai (For example, 127.0.0.1 loacl.qualitia.ai) on a new line.
Save the file.
Access the server using the URL: https://{domain name}.
Switching Between HTTP and HTTPS
You can switch between HTTP and HTTPS as needed.
Steps to switch from HTTPS to HTTP
Launch the Server Portal in your browser.
Go to the Configuration tab.
Uncheck the Enable SSL checkbox.
Click Save to apply the configuration.
Open the portal in your browser using the HTTP URL, e.g.,
http://localhost:8887
.
Steps to switch from HTTP to HTTPS
Launch the Server Portal in your browser.
Go to the Configuration tab.
Check the Enable SSL checkbox.
Click Save to apply the configuration.
Open the portal in your browser using the HTTP URL, e.g.,
https://local.qualitia.ai
.
Steps to Manually Configure SSL Certificate Paths (Other than Qualitia)
Navigate to the directory where the certificates are placed.
Identify and copy the full file path for each required certificate.
Open the Server Portal and navigate to the Configuration tab.
Check the Enable SSL checkbox.
Paste the copied paths into their respective fields under SSL Configuration.
Click Save to apply the configuration.
Steps to Download the SSL Certificate
Launch the Server Portal in your browser.
Click the Advanced option.
Click the link "Proceed to {Domain/IP} (unsafe)".
Click Not Secure to view site information.
Then click Certificate Details.
Now go to the Details tab and click Export.
Choose a folder location and click Save.
Steps to Install SSL Certificate on Your Local Machine
Open Manage User Certificates from the Start menu.
Expand the Trusted Root Certification Authorities node.
Right-click on the Certificates node.
Click All Tasks > Import.
Import the tasks and click Next.
Select the downloaded certificate and click Next > Finish.
Restart the machine.
Go to the secure link, for example, https://local.qualitia.ai.
Use the same server URL (e.g. https://local.qualitia.ai) in Qualitia - Client while logging in.
After going from not secure to secure, make sure to reload the page. If this does not work, relaunch the server portal.
Configure CICD execution using SSL Server
Once you have installed the SSL certificate on the local machine, you can configure CICD execution, such as Jenkins, TeamCity & Bamboo, using the SSL Server. Refer to Steps to install SSL certificate on your local machine for detailed information.
Make sure to install the CA Root certificate on the Jenkins machine before execution.
To execute any suite from the SSL-enabled server, use the following curl command:
curl --ssl-no-revoke -o executionAgent.jar -LJ {Server URL}/api/v1/download/executionAgent
ADO execution using SSL Server
For ADO execution, the URL you pass to the ADO Task should include the port number 443. For example, https://qualitiasoft.ssl:443.
All other settings will be as per normal server execution.
Update the SSL Port and SSL Certificate path
Open the Configuration Section on the Qualitia Server.
Go to Secure Connections and select the Enable SSL check box.
Add the SSL Port number as 443.
Add the SSL Certificate Path as qualitiasoft.ssl.
Add the SSL Certificate Password and click Save.
You need to enable the SSL from the Configuration Section to get a secure connection. If not enabled, the SSL port defaults to 80, an unsecured server.
🔧 Got a problem? Let’s fix!
Issue: You may encounter the "Your connection isn't private" screen when accessing the server portal for the first time after enabling HTTPS.
Solution: To resolve this issue, install the pre-bundled Qualitia certificate to access the server without trust-related issues. Follow these steps:Step 1: Download the Certificate
Refer SSL Certificate | Steps-to-Download-the-SSL-Certificate.Step 2: Install the Certificate
Refer SSL Certificate | Steps-to-Install-SSL-Certificate-on-Your-Local-Machine.Access the server using the URL: https://{domain name}.