Skip to content

Provide further context in TLS test results #955

Closed

Description

@duncangreene

What is the problem your feature is trying to solve?
Testrun may report the below in the TLS test results, but there is no context to tell the user why the certificate is invalid.

Image

Describe the solution you think would solve the problem
There may be a multitude of reasons as to why a certificate was reported to be invalid, Testrun should report this to the user, sort of akin to how Google Chrome does.

Image

Additional context
There may be merit including additional useful information such as the certificate hierarchy.

Image

Activity

  1. added
    test
    and removed on Nov 7, 2024
  2. jboddey commented on Jan 9, 2025

    @jboddey
    Contributor

    There are already some extra details available in the report JSON which are not shown in the PDF report. See below for an example:

    {
          "name": "security.tls.v1_2_server",
          "test_description": "Check the device web server TLS 1.2 and the certificate is valid",
          "expected_behavior": "TLS 1.2 certificate is issued to the web browser client when accessed",
          "recommendations": [
            "Enable TLS 1.2 support in the web server configuration",
            "Disable TLS 1.0 and 1.1",
            "Sign the certificate used by the web server"
          ],
          "start": "2025-01-02T13:48:10.386765",
          "result": "Non-Compliant",
          "description": "TLS 1.2 certificate is invalid",
          "details": "TLS 1.2 not validated: Certificate has expired\nEC key length passed: 256 >= 224\nDevice certificate has not been signed\nTLS 1.3 not validated: Certificate has expired\nEC key length passed: 256 >= 224\nDevice certificate has not been signed",
          "end": "2025-01-02T13:48:10.573095",
          "duration": "0:00:00.186330"
    }
    
  3. added
    ui
    and removed
    test
    on Apr 14, 2025
  4. jboddey commented on Apr 14, 2025

    @jboddey
    Contributor

    Will make a suggestion that we show the additional details in the UI.

  5. added
    triaged
    BE
    on May 9, 2025
  6. OlgaMardvilko commented on May 9, 2025

    @OlgaMardvilko
    Collaborator

    The ticket is created: 413330626

  7. KrystsinaT commented on Jun 3, 2025

    @KrystsinaT
    Collaborator

    The ticket will be released in version 2.2.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BEtriagedui

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions