Mercurial > prosody-hg
annotate spec/tls/README @ 13946:f5e8ab42c708
mod_http_file_share: Check that files are still there with correct size
Failed uploads can leave behind unused slots. Files shouldn't change
size after they have been successfully uploaded, but might as well
double check it.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 04 Dec 2021 18:56:51 +0100 |
| parents | 4122978f2575 |
| children |
| rev | line source |
|---|---|
|
13816
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
1 These tests check that SSL/TLS configuration is working as expected. |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
2 |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
3 Just run ./run.sh in this directory (or from the top level, |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
4 `make integration-test-tls`. |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
5 |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
6 Known issues: |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
7 - The tests do not thorougly clean up after themselves (certs, logs, etc.). |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
8 This is partly intentional, so they can be inspected in case of failures. |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
9 - Certs are regenerated every time. Could be smarter about this. But it also |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
10 helps to guard against incorrect Prosody instances running and hogging the |
|
4122978f2575
spec/tls: Add TLS/certificate integration tests
Matthew Wild <mwild1@gmail.com>
parents:
diff
changeset
|
11 ports, etc. |
