Enhance WHMCS integration with mTLS support and product mapping features. Added mTLS configuration options, updated API endpoints for mTLS status and fingerprint registration, and implemented product validation API. Updated database schema and documentation accordingly.
Some checks failed
CI / Node — lint, typecheck, test, build (push) Failing after 9s
CI / Go — node-agent tests (push) Failing after 8s
CI / Go — edge-gateway build (push) Successful in 18s

This commit is contained in:
smueller
2026-06-30 13:17:12 +02:00
parent 4b20efe4bc
commit 316679a913
34 changed files with 1174 additions and 30 deletions

View File

@@ -2,7 +2,40 @@
Last updated: 2026-06-26
## Current phase: WHMCS Addon Dashboard
## Current phase: WHMCS hardening — mTLS + Product mappings
### mTLS integration API
| Area | Status | Notes |
|------|--------|-------|
| Optional enforcement | Done | `INTEGRATION_MTLS_ENABLED=true` |
| Fingerprint binding | Done | Per `WhmcsInstallation` |
| Guard | Done | HMAC + mTLS layered |
| API | Done | `GET/PUT .../mtls/*` |
| PHP clients | Done | Addon + server module curl mTLS |
| nginx example | Done | `deploy/nginx/integration-mtls.conf.example` |
| Docs | Done | `docs/integrations/whmcs/mtls.md` |
### Product mapping UI
| Area | Status | Notes |
|------|--------|-------|
| Addon mappings page | Done | WHMCS product → GameCloud plan |
| Validation API | Done | `POST /catalog/validate-plan` |
| WHMCS table | Done | `mod_hexagamecloud_product_mappings` |
| Server module hook | Done | `ProductMapping.php` resolver |
| Docs | Done | `docs/integrations/whmcs/product-mappings.md` |
### Abnahmekriterium
- [x] Addon maps WHMCS products to validated GameCloud plan slugs
- [x] Provisioning uses mapping when active
- [x] mTLS can be enabled without breaking dev (HMAC-only default)
- [ ] Manual E2E: nginx mTLS + WHMCS provision
---
## WHMCS Addon Dashboard ✅
### WHMCS Addon module completed
@@ -266,4 +299,4 @@ Server entry fields:
### Next phase: Post-MVP hardening
- Penetration test, product mapping UI in addon, mTLS for integration API
- Penetration test, configurable option mappings, IP allowlist for integration API