Commit Graph

11 Commits (master)

Author SHA1 Message Date
Matthew Vivian 0d1c00691d chore: refresh truststores and regenerate expired lab certificates
Every server certificate in the environments had expired (May 2025 for
federation, November 2025 for the xmpp.localhost.example domain,
September 2026 for otherxmpp), so certificate-authenticated S2S
(SASL EXTERNAL) failed with a TLS certificate_unknown alert.

The truststores came from a 2017 bundle, or for federation from
Openfire's 2023 bundle. Both still trusted roots that Mozilla has since
removed after distrust decisions (Entrust, Camerfirma, TURKTRUST and
others). They are rebuilt from Mozilla's current CCADB root list, the
same source Openfire's build/updateTLSTruststore uses.

The 2024 truststore refresh for federation dropped the peers' self-signed
certificates that the federation README describes, and the
cluster_with_federation stores trusted only the old certificates. Each
federated truststore now trusts its peer's new certificate.

scripts/update_certificates.sh makes this repeatable. The self-signed
certificates are valid for ten years because they only serve this lab.
The shared xmpp.localhost.example certificate now also names
xmpp2/xmpp3.localhost.example, the hostnames of the other cluster
nodes.
2026-11-04 09:41:11 +00:00
Dan Caseley 905c512e7b Add script to prune _data directories with sudo 2022-07-27 14:47:41 +02:00
Dan Caseley f8dd949970 Tidy scripts directory 2022-07-27 14:47:41 +02:00
Dan Caseley 438c9ec933 Fixes 2022-07-27 14:47:41 +02:00
Dan Caseley bd38d3e9e6 Update scripts to account for file movement 2022-07-27 14:47:41 +02:00
Dan Caseley c7efe32e96 Update scripts to ignore fixed name formats 2021-12-20 11:28:33 +00:00
Emiel van der Herberg d6f5761fbc No copying of hazelcast plugin to non-clustered openfire environments. No default inclusion of monitoring plugin. 2021-12-02 13:06:14 +01:00
Emiel van der Herberg 75f74b5795 Update for dev environment, containing:
- Unified structure for auto-loading plugins for different modes of operation
- Added in heapdump/monitoring/jsxc plugins for auto-loading
- Modified scripts to work with (docker compose 2) default of using hyphens for creating service names
- Fixed copy monitoring plugin script and added copy hazelcast plugin script
- Extra scripts for blocking and unblocking server 2 in federation mode
2021-12-01 12:43:18 +01:00
Guus der Kinderen 5c8c654542 Update log file locations
Openfire 4.7.0 brings a change to the name of the log files. They've been renamed from 'all.log' to 'openfire.log'.

This commit applies the same change to this project.
2021-12-01 10:26:22 +01:00
Emiel van der Herberg 0f51ad7213
Updated cert for otherdomain (#38)
New self signed certs for the other domain.
Pull in all log files with get_logs.

Co-authored-by: Emiel van der Herberg <emiel.van.der.herberg@marviq.com>
2021-09-29 15:15:29 +02:00
Dan Caseley c646223aee
Tidy utility scripts out of the root 2021-09-03 18:19:11 +01:00