TEST_015 Ensure all API communications are conducted over HTTPS
Test type​
System
Linked activities​
- MDS-449
Result​
- Passed
- Failed
Description​
This test run aims to validate the HTTP to HTTPS redirection functionality and ensure the use of valid SSL/TLS certificates for secure communication. The focus is on confirming that all HTTP requests are properly redirected to HTTPS without errors or security warnings and that the SSL/TLS certificates used are valid, not expired, and issued by a trusted Certificate Authority (CA). The API root endpoint will be tested for consistent redirection behavior. Additionally, the SSL/TLS certificates will be checked for validity, proper configuration, and certificate chain. The tests will be conducted in a staging environment mirroring the production setup, with any issues documented and recommendations provided.
These test cases are being run for the first time on this version of the medical device.
Run environment​
Here are the technical specifications of the runtime environment in which the test was conducted:
- Operating system: macOS Sonoma (version 14.5)
- Hardware specifications:
- CPU:
- Model name: Intel Core i9
- Number of cores: 8
- Thread(s) per core: 2
- GPU:
- Devices:
- Intel UHD Graphics 630 (1536 MB)
- Devices:
- RAM: 16 GB
- Storage: 1 TB
- Network:
- Mean speed: 380 Mbps
- Mean latency: 5 ms
- CPU:
- Other relevant software: No particular software was used.
Test case runs​
The following test cases have been executed in this batch:
TEST_015_001​
Outcome​
- Passed
- Failed
Expected results​
- The HTTP request is redirected to the HTTPS URL (e.g., from
http://medical-device-pre.legit.health/login
tohttps://medical-device-pre.legit.health/login
). - The HTTPS request is successfully processed by the API endpoint, and the response is received without any security warnings.
Actual results​
-
The HTTP request is redirected to the HTTPS URL (e.g., from
http://medical-device-pre.legit.health/login
tohttps://medical-device-pre.legit.health/login
): -
There are several ways to demonstrate this test, and for this instance, I've chosen to use the Google Chrome browser. In the video below, I start by entering the medical device API URL in the browser with the HTTP protocol. The browser then automatically redirects me to the HTTPS version of the URL.
-
The HTTPS request is successfully processed by the API endpoint, and the response is received without any security warnings:
-
The video below demonstrates that when accessing the API via the HTTPS version of the URL, the API responds with a health check message confirming the device is accessible. The
status
key indicates that everything is operational and functioning as expected.
Remarks​
No comments to add. The test was carried out manually without any issues.
TEST_015_002​
Outcome​
- Passed
- Failed
Expected results​
- The browser dialog box shows that the connection is secure and confirms a valid SSL certificate.
- The certificate is issued by Let's Encrypt and has not expired.
Actual results​
- The browser dialog box shows that the connection is secure and confirms a valid SSL certificate:
- The certificate is issued by Let's Encrypt and has not expired:
Remarks​
No comments to add. The test was carried out manually without any issues.
Summary of results​
- Total cases: 2
- Passed: 2
- Failed: 0
- Pass rate: 100 %
Defects and issues​
Defect ID | Description | Severity | Status | Reported by | Assigned to | Activities generated | Remarks |
---|---|---|---|---|---|---|---|
Observations and recommendations​
All planned test cases were executed successfully, with a 100% pass rate. This indicates that the system performed as expected under the defined scenarios.
Additionally, no defects were found during this testing cycle. The absence of defects suggests a high level of system stability and reliability.
Signature meaning
The signatures for the approval process of this document can be found in the verified commits at the repository for the QMS. As a reference, the team members who are expected to participate in this document and their roles in the approval process, as defined in Annex I Responsibility Matrix
of the GP-001
, are:
- Tester: JD-017, JD-009, JD-004
- Approver: JD-005