Include self-signed cert in package install.

This commit is contained in:
Itamar Turner-Trauring 2022-03-30 10:26:26 -04:00
parent da6838d6f9
commit 30a3b006a0
2 changed files with 5 additions and 0 deletions

View File

@ -410,6 +410,7 @@ setup(name="tahoe-lafs", # also set in __init__.py
"static/css/*.css",
],
"allmydata": ["ported-modules.txt"],
"allmydata.test": ["certs/*"]
},
include_package_data=True,
setup_requires=setup_requires,

View File

@ -1078,6 +1078,10 @@ class _HTTPMixin(_SharedMixin):
http_storage_server,
"127.0.0.1",
0,
# This is just a self-signed certificate with randomly generated
# private key; nothing at all special about it. You can regenerate
# with code in allmydata.test.test_storage_https or with openssl
# CLI, with no meaningful change to the test.
certs_dir / "private.key",
certs_dir / "domain.crt",
interface="127.0.0.1",