mirror of
https://github.com/shankar0123/certctl.git
synced 2026-06-07 18:01:37 +00:00
be72627aeb
M25: After deploying a certificate, the agent probes the live TLS
endpoint and compares SHA-256 fingerprints to verify the correct cert
is being served. Best-effort — failures don't block deployments.
New endpoints: POST /jobs/{id}/verify, GET /jobs/{id}/verification.
Migration 000008 adds verification columns to jobs table.
M26: Traefik target connector (file provider, auto-reload) and Caddy
target connector (dual-mode: admin API hot-reload or file-based).
Both wired into agent dispatch.
Also: restructured README to highlight supported integrations (issuers,
targets, notifiers) earlier, moved API/CLI/MCP sections lower. Updated
all docs (features, connectors, architecture, testing guide, why-certctl)
and fixed integration tests for 18-param RegisterHandlers signature.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
13 lines
587 B
SQL
13 lines
587 B
SQL
-- Add verification fields to jobs table for post-deployment TLS verification
|
|
ALTER TABLE jobs
|
|
ADD COLUMN IF NOT EXISTS verification_status TEXT DEFAULT 'pending',
|
|
ADD COLUMN IF NOT EXISTS verified_at TIMESTAMPTZ,
|
|
ADD COLUMN IF NOT EXISTS verification_fingerprint TEXT,
|
|
ADD COLUMN IF NOT EXISTS verification_error TEXT;
|
|
|
|
-- Index on verification_status for queries filtering by status
|
|
CREATE INDEX IF NOT EXISTS idx_jobs_verification_status ON jobs(verification_status);
|
|
|
|
-- Index on verified_at for temporal queries
|
|
CREATE INDEX IF NOT EXISTS idx_jobs_verified_at ON jobs(verified_at);
|