mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-02 13:15:17 +09:00
Unifies "SSL Certificates" and "Advanced SSL" into one lifecycle surface. Backend: - The advanced cert operations (wildcard DNS-01, SAN, custom upload, TLS profiles, health, expiry alerts) now mount under /api/v1/ssl alongside the basic certbot routes — no path collisions. /api/v1/ssl/advanced kept as a deprecated alias (same blueprint, second registration). Frontend: - api client advanced methods repointed to the unified /ssl/* paths. - SSLCertificates.jsx (already the single SSL page) gains the two cert-creation paths that were previously UI-inaccessible: a "Wildcard (DNS-01)" mode in the New Certificate modal (Cloudflare token / Route 53 keys) and an "Upload" action + modal for bring-your-own PEM cert/key/chain. Deferred (documented follow-up): a unified Certificate registry model + disk scan, and surfacing health/profiles panels — the API is unified and the client methods exist; these are read-side enhancements. Verified: 3 backend route-unification tests + existing SSL suites pass (19); frontend build + eslint clean. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>