File

spec/tls/README @ 13816:4122978f2575 13.0

spec/tls: Add TLS/certificate integration tests These tests help to verify that various configurations translate into the expected running TLS setups. Specifically right now we are checking the correct certificate is served.
author Matthew Wild <mwild1@gmail.com>
date Thu, 03 Apr 2025 15:11:58 +0100
line wrap: on
line source

These tests check that SSL/TLS configuration is working as expected.

Just run ./run.sh in this directory (or from the top level,
`make integration-test-tls`.

Known issues:
  - The tests do not thorougly clean up after themselves (certs, logs, etc.).
    This is partly intentional, so they can be inspected in case of failures.
  - Certs are regenerated every time. Could be smarter about this. But it also
    helps to guard against incorrect Prosody instances running and hogging the
    ports, etc.