--- a/dendrite/server/templates/dendrite.yaml.j2 Sat Jul 24 22:12:04 2021 -0500
+++ b/dendrite/server/templates/dendrite.yaml.j2 Sun Jul 25 10:30:51 2021 -0500
@@ -44,9 +44,10 @@
# to old signing private keys that were formerly in use on this domain. These
# keys will not be used for federation request or event signing, but will be
# provided to any other homeserver that asks when trying to verify old events.
- old_private_keys:
+ {% if dendrite_old_key %}old_private_keys:
- private_key: old_matrix_key.pem
expired_at: 1626538450
+{% endif %}
# How long a remote server can cache our server signing key before requesting it
# again. Increasing this number will reduce the number of requests made by other