Repository navigation
v1.101.0
Which file do I need?
| You want | Download |
|---|---|
| The desktop app | ApiTester.App.exe |
| The command line | certapi.exe |
HTTP/3 (--http3) with either |
msquic.dll, saved in the same folder |
Both are self-contained: nothing else to install, no .NET needed. Keep them in one folder and the app's update prompt, or certapi update, keeps them current.
With Scoop: scoop install https://github.com/Real-Fruit-Snacks/certapi/releases/download/v1.101.0/certapi.json
Every file's SHA-256 is in SHA256SUMS.txt. The rest are for building from source (the source at this tag, and a dev kit that builds and tests with no network) and a copy of the fuzz wordlist built into certapi.exe.
What's new
Added
serve --retry <n>: the gateway sends a request to the upstream again when the connection fails
or the answer is a--retry-onstatus (429, 502, 503, 504 by default), withsend's backoff and
Retry-Afterhonoured. Every attempt and every wait shares--timeout, so a caller never waits
longer than it would have; when the time or the attempts run out, the last answer is relayed.
OnlyGET,HEAD,OPTIONS,PUTandDELETEunless--retry-unsafe; a body up to 1 MB goes
again whole, a larger one only when the connection failed before any of it was sent. The request
line says(3 attempts). A profile'sservesection takesretry; the top-levelretry(for
send) still does not apply to the gateway. Before,--retrywas accepted and ignored here.serve --http2: HTTP/2 is offered to https sites, so many requests share one connection and one
certificate handshake; a site without it answers in HTTP/1.1. Plain http sites and sites with
Windows sign-in stay on HTTP/1.1. The request line endsHTTP/2when it was used.servelooks for a renewal of each client certificate every 5 minutes (the store query again, or
the file when it changed) and presents one it finds from the next connection on, without a
restart; requests under way finish on the old one. A certificate named by thumbprint is not
renewed this way.servewarns about a client certificate's expiry while it runs, not only at the start: daily
within 14 days of it, hourly once it has passed./_certapi/healthlists each certificate
presented with itsnotAfteranddaysLeft.serve --connection-lifetime <seconds>(default 600, profile keyconnectionLifetime): a
connection to a site is replaced after this long, once the request on it is done. Before, a site
in steady use kept its connections for as long as the gateway ran, so a site that moved (a DNS
failover, a load balancer's new members) was not followed until a restart.0keeps the old
behaviour.
Changed
- When several certificates match
--certand all are one subject from one issuer (a renewal next
to the certificate it replaced), every command now uses the newest — valid now, made for client
authentication, latest expiry — and a note says which. Before, it stopped with "be more specific",
so a renewal in the store stoppedserve(and every script) from starting until--certwas
changed. Matches from different issuers still need--cert-issueror--cert-serial.
Full Changelog: v1.100.2...v1.101.0