Skip to content

Consider adding additional context to TLS server test names #904

Closed

Description

@duncangreene

What is the problem your feature is trying to solve?
Multiple services on a device can run using differing versions of TLS. For example on a single device, the version and ciphers used by MQTT/TLS may be completely different from the version and ciphers used by HTTP/TLS.

The below shows a device that offers TLS v1.2 and TLS v1.3 on port 8009, but only TLS v1.2 on port 8443.

Image

By the looks of the code I believe the security.tls.v*_*_server tests are specifically targeted at the service listening on port 443 on the DUT, and I wonder whether there would be merit in tightening the test name to reflect this? It may avoid the user incorrectly assuming that all services on the DUT offer 'TLS v1.3' when they read the result in the report for security.tls.v1_3_server (which as we can see above for 8443, isn't the case).

Image

Describe the solution you think would solve the problem
Consider renaming to security.tcp443.tls.v*_*_server or similar.

Additional context
This would provide extensibility in the test namespace for additional TLS server tests to be carried out and individually reported against other ports.

  • security.tcp443.tls.v1_2_server
  • security.tcp443.tls.v1_3_server
  • security.tcp993.tls.v1_2_server
  • security.tcp993.tls.v1_3_server
  • security.tcp8443.tls.v1_2_server
  • security.tcp8443.tls.v1_3_server
  • security.tcp8883.tls.v1_2_server
  • security.tcp8883.tls.v1_3_server

Activity

  1. self-assigned this
    on Oct 28, 2024
  2. jboddey commented on Nov 6, 2024

    @jboddey
    Contributor

    I agree that we need to consider varying TLS implementations for different services - I am not sure the proposed test names are the right way of going about it - I will think further on another solution.

  3. added
    test
    and removed on Nov 7, 2024
  4. jboddey commented on Dec 16, 2024

    @jboddey
    Contributor

    I think the solution for this would be a generic tls test which would result non-compliant if there were any TLS service that was considered non-compliant. The module report would then give you the information we want.

  5. jboddey commented on Jan 13, 2025

    @jboddey
    Contributor

    The TLS tests are being modified to specify the port numbers of invalid tls services. The test names will remain the same.

  6. duncangreene commented on Apr 9, 2025

    @duncangreene
    Author

    @jboddey @jhughesoti Just on this subject, in 2.1.1 at least, am I correct in saying that the security.tls.v*_*_server tests are only testing/reporting against ports found to offer HTTP/TLS?

    Image

    That is, other ports offering services over TLS such as MQTT/TLS are not tested/reported on by the security.tls.v*_*_server tests?

  7. jboddey commented on May 6, 2025

    @jboddey
    Contributor

    Correct, just HTTP/TLS.

  8. added
    triaged
    on Jun 12, 2025
  9. KrystsinaT commented on Jun 12, 2025

    @KrystsinaT
    Collaborator

    The ticket 424366243 has been created.

  10. KrystsinaT commented on Jun 29, 2026

    @KrystsinaT
    Collaborator

    After discussing this case with the Lab team, it was decided not to change the text to avoid misleading users.

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

Metadata

Metadata

Assignees

Labels

testtriaged

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions