# Public endpoint inspection and partial repair — 2026-11-24

**Historical checkpoint:** the subsequent owner-approved native deployment is
recorded in [native evidence](native-20261124.md). The public site now redirects
to real SSO; the403 reservation and approval requests below are no longer current.

## Authorization and result

Owner requested reading the docs, fixing `https://sign.saikrupagas.com/` first,
using SSH and `/etc/lighttpd/AGENTS.md` on maa-1, then continuing work not needing
input. This confirms the hostname; it does not supply role assignments or approve
new dependencies, OS account/permission provisioning, or bypassing Minci.

**TLS repaired; application NOT deployed.** Public HTTPS now validates normally
and every route returns403 deliberately. This is a closed reservation, not a
working beta, an authenticated Signet instance, or rollout29 completion.

## Reproduction and cause

- Public curl failed with TLS alert internal error before receiving HTTP.
- Loopback SNI probe likewise returned no peer certificate.
- No Signet proxy/backend vhost, installation, OS users or Minci enrollment.
- Existing ACME directory contained only an unfinished September request/key,
  not an issued certificate. DNS resolves through saikrupagas.com to maa-1.
- Existing loopback backend answered403 for this unknown hostname.

This distinguishes the missing installation from a crashed installed service.
Probes distinguished missing SNI/certificate from a failed existing service or
an external DNS/network failure. Local SNI reproduction plus absent certificate/
vhost and successful resolution confirmed the first; no service existed to fix.

## Host changes

Used existing acme.sh3.1.7, socat and configured ZeroSSL account; standalone
HTTP challenge used the previously unoccupied port80. No dependencies installed,
accounts created, identity settings changed or application/database data written.

- Issued certificate for sign.saikrupagas.com, valid through2027-02-21 UTC.
- Installed cert/key/fullchain under `/etc/lighttpd/ssl/sign.saikrupagas.com/`.
- Added `/etc/lighttpd/signet-pending.conf`, exact anchored hostname match,
  existing TLS/access-log macro and `url.access-deny = ( "" )` for all paths.
- Appended its include to `/etc/lighttpd/lighttpd-proxy-user.conf`.
- Registered certificate install paths and a validation + graceful restart hook
  in the domain's existing ACME configuration; existing daily cron owns renewal.
  Next renewal timestamp is1802030399. ACME emitted BusyBox date-parsing warnings
  but recorded the numeric next-renewal time; future automatic renewal is not
  proven by issuance. Unlike lighttpd HUP (logs only), graceful applies certs.
- Validated proxy/backend configs; gracefully restarted only lighttpd-proxy.
  Install-cert also invoked its registered hook before the include was appended.

Private pre-edit config copies: `/root/signet-endpoint-20261124/` on maa-1.
Do not copy credentials from those files into source or public diagnostics.
To remove the reservation: restore the backed-up proxy-user configuration only
if no later edits occurred (otherwise remove just the Signet include), validate,
and gracefully restart proxy. Retain issued certificate/ACME state unless an
operator deliberately changes certificate management. Do not blindly restore the
old ACME config over successful issuance or other later state.

## Verified

- Public curl with normal certificate validation (no `-k`): root, `/api/me`,
  `/pim-api/attrs`, `/dam/`, `/auth/user` all403; forged Remote-User/Remote-Groups
  likewise403. TLS verification result0.
- Existing SSO root200; Ops and Regi roots302, normal TLS validation.
- Both lighttpd services remain started. Challenge listener80 cleaned up;
  backend remains bound127.0.0.1:81 and proxy443.
- Both config tests return0. Existing unrelated expired certificate warning for
  im.saikrupagas.com was present before changes; not modified here.
- Read-only reproducible check: `sh out/public-endpoint/check.sh`; its syntax
  checked with `sh -n`. Local reservation config copy is in the same out/
  directory (untracked, not ignored). These artifacts are not application
  deployment machinery.

No screenshots, browser authentication, real documents, API mutations, load
stress, application build/CI/deployment or end-to-end signing claimed.

## Fresh rollout blockers (not the historical Nov22 inventory)

- maa-1 is x86_64 Alpine/OpenRC. Existing `/usr/local/bin/minci.sh` SHA256
  `42c21135f3cafaef43a203baf710b98888be5c78967509a28ae1370c62288ab9`;
  recipe helper SHA256
  `4ddf2052998fba05c5168de58fc933b6b24a82b6ddbaaa13750f733aa8b2ed00`.
  Installed helper directory contains recipes/local atomic backend only, not
  current namespace/remote/publication helpers. Only procmac operator Jobfile
  found. No Signet runner profile/service/deployment accounts found.
- Current local Minci docs support named remote delivery and native package
  roots; this is NOT proof that this older installed release supports them.
  Do not deploy another agent's checkout or bypass Minci with app-owned SSH.
- qpdf/pdfinfo and hiredis-dev/libpng-dev absent. Existing make, cc, pkg-config,
  kfcgi, libpq and redis do not constitute a complete toolchain. Host is Alpine
  3.24.4; PostgreSQL service is already started and pg_config reports18.7.
  Prefer an isolated database/roles on the existing compatible server after
  approval, not an unnecessary second PostgreSQL16 server. No database contents
  inspected. `apk add --simulate hiredis-dev libpng-dev qpdf poppler-utils`
  resolves to six additions: hiredis-dev1.3.0-r0, libpng-dev1.6.59-r0,
  poppler-utils25.12.0-r1, qpdf-libs12.3.2-r0, qpdf12.3.2-r0 and
  qpdf-doc12.3.2-r0. Simulation selects no Python package or existing-package
  upgrades; it does not prove all package-hook behavior. No installation run.
- No `signet`/`signetd` users, data/configuration,
  DB or per-app service allocations were provisioned. Do not apply README's
  illustrative commands blindly on the shared host.
- Existing Authelia authorizer forwards REMOTE_USER metadata, not automatically
  Signet's required trusted user AND configured group headers. Its documented
  PHP forwarding pattern is not proof of the kcgi trust boundary.
- Owner must choose existing LDAP groups for drafter, signer, admin, pim_admin.
  Keep DAM writes denied until expressly authorized; optional TSA stays disabled.
- Resource20/native acceptance remains open; do not stress shared maa-1.

## Narrow approvals needed before installation/activation

1. Authorize Signet-specific ordinary CI/deployment/service accounts, isolated
   database/Redis/files, and native required package provisioning on maa-1,
   using a reviewed released Minci installation and supported workflow. Exact
   package transaction/transitives must be checked first; no Python exception
   is inferred. Do not upgrade shared Minci while another run is active.
2. Supply existing LDAP group mapping for the four roles; no hardcoded or
   invented defaults. DAM can remain read-only without a writer decision.

Independent next work may prepare/review source and packaging, but cannot
truthfully run native application acceptance or activate a beta without these
boundaries. Keep14/20/24–29 and session deployment tasks open.
