You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TLS "certificate could not be validated" clarification in report #1081
BEBug or request that related to the BE sideframeworkInvolves backend components (e.g framework or test modules)testA new test case or issue identified with a test
Describe the bug
I believe the device to which the below report pertains does not support/offer TLS 1.3.
The text "certificate could not be validated" implies that there was a certificate, but it could not be validated for some reason (issue with the cert/issue with the cert chain/issue with Testrun itself/etc.), as opposed to the fact that TLS 1.3 is not supported and/or a certificate was not presented as a result.
Expected behavior
If a service doesn't support/offer TLS 1.3, this should be stated as such, to remove any ambiguity over whether a certificate was presented.
The details of the certificate failures can be found in the tls-result.json file generated by Testrun in the tls module folder of the report zip. There is currently an open ticket on how best to provide this information into the various module reports when this type of detail is generated. For the report you provided, the details generated indicate it was not signed as the failure:
"details": "TLS 1.2 not validated: Certificate has a valid time range\nRSA key length passed: 2048 >= 2048\nDevice certificate has not been signed",
In this particular case the concern was more that the DUT does not support TLS 1.3, but the text against the security.tls.v1_3_server test may lead you to interpret that a certificate was indeed presented, but it couldn't be validated for some reason (issue with the cert/issue with the cert chain/issue with Testrun itself/etc.).
I would be tempted to suggest that if a service doesn't support/offer TLS 1.3, this should be stated as such in the test description/result text, to remove any ambiguity over whether a certificate was presented or not. 👍
Just confirming that this issue is still present in 2.3.3.
To be clear, the device under test above does not support/implement TLS at all, and so the suggestion would be to supress the additional information suggesting 'could not be validated' and 'failed to resolve'. If there was a desire to keep this text shouldn't they contain the same message in this case? The difference suggests a subtle difference in result between the two, whereas as already stated, the device does not support/implement TLS at all.
@KrystsinaT@hitnik this issue is still present 2.3.4, albeit with a different error/description now for the TLS 1.3 test. To recap, this DUT doesn't implement TLS at all.
@duncangreene Sorry, we misunderstood. We'll add the message 'No outbound TLS connections detected' in the July release.
Noted, although the TLS server tests more relate to 'inbound' connections/services, so potentially something like "No HTTP/TLS server functionality detected on ports 80, 443, 8080", with an eye on the statement in #904 that says that these tests are only concerned with HTTPS TLS functionality, as opposed to TLS more generally?
BEBug or request that related to the BE sideframeworkInvolves backend components (e.g framework or test modules)testA new test case or issue identified with a test
Activity
jhughesoti commentedon Jan 28, 2025
The details of the certificate failures can be found in the tls-result.json file generated by Testrun in the tls module folder of the report zip. There is currently an open ticket on how best to provide this information into the various module reports when this type of detail is generated. For the report you provided, the details generated indicate it was not signed as the failure:
"details": "TLS 1.2 not validated: Certificate has a valid time range\nRSA key length passed: 2048 >= 2048\nDevice certificate has not been signed",duncangreene commentedon Jan 31, 2025
In this particular case the concern was more that the DUT does not support TLS 1.3, but the text against the security.tls.v1_3_server test may lead you to interpret that a certificate was indeed presented, but it couldn't be validated for some reason (issue with the cert/issue with the cert chain/issue with Testrun itself/etc.).
I would be tempted to suggest that if a service doesn't support/offer TLS 1.3, this should be stated as such in the test description/result text, to remove any ambiguity over whether a certificate was presented or not. 👍
KrystsinaT commentedon May 23, 2025
Released in 2.2.1.
duncangreene commentedon Dec 2, 2025
@KrystsinaT the issue/clarification detailed here is still not made in 2.2.2.
duncangreene commentedon Mar 16, 2026
@hitnik are you okay to reopen this issue? This hasn't been fixed as far as I'm aware.
duncangreene commentedon May 13, 2026
Just confirming that this issue is still present in 2.3.3.
To be clear, the device under test above does not support/implement TLS at all, and so the suggestion would be to supress the additional information suggesting 'could not be validated' and 'failed to resolve'. If there was a desire to keep this text shouldn't they contain the same message in this case? The difference suggests a subtle difference in result between the two, whereas as already stated, the device does not support/implement TLS at all.
KrystsinaT commentedon Jun 29, 2026
Fixed in version 2.3.4. @duncangreene check please.
duncangreene commentedon Jun 29, 2026
@KrystsinaT @hitnik this issue is still present 2.3.4, albeit with a different error/description now for the TLS 1.3 test. To recap, this DUT doesn't implement TLS at all.
hitnik commentedon Jun 29, 2026
@duncangreene Sorry, we misunderstood. We'll add the message 'No outbound TLS connections detected' in the July release.
duncangreene commentedon Jun 29, 2026
Noted, although the TLS server tests more relate to 'inbound' connections/services, so potentially something like "No HTTP/TLS server functionality detected on ports 80, 443, 8080", with an eye on the statement in #904 that says that these tests are only concerned with HTTPS TLS functionality, as opposed to TLS more generally?
hitnik commentedon Oct 12, 2026
The ticket 572810884 has been reported.