Files
lucioandClaude Opus 5 dd608e6a20 Add Aruba InstantOS certificate update tool and hermes skill
Automates pushing a renewed TLS certificate to an Aruba InstantOS AP and
pointing the Web UI certificate usage at it, replacing the manual
Maintenance -> Certificates flow.

Commands: status, check-caddy, check-ap, update. `update` is idempotent,
so it is safe to run on a schedule.

The /swarm.cgi API was reverse-engineered from the InstantOS 8.x web UI
bundle and verified against live hardware. Four behaviours documented in
the README each silently break a naive implementation:

- scalars return as <data name=".."> rather than named tags, including
  the login sid
- cert types are ServerCert/TrustedCA/ClientCert/PublicCert; the
  server_cert values in the bundle are overwritten at runtime
- uploads are synchronous and the POST body is the only real result;
  upload_status returns not_available even for uploads that succeeded
- the AP closes TLS without close_notify, which OpenSSL 3 rejects

Credentials are read from ~/.config/aruba-ap-cert/.env, outside the repo.

Co-Authored-By: Claude Opus 5 <[email protected]>
2026-07-27 03:58:14 -07:00

13 lines
169 B
Plaintext

# Credentials -- never commit
.env
.env.local
# Private keys and combined bundles (a bundle contains the key)
*.key
*.pem
*.combined.crt
wildcard_*
__pycache__/
*.pyc