Repository navigation
Releases
v1.103.1
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.103.1/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
Changed
- Updated in-app
F1help (HelpWindow) to cover the Tools menu (Benchmark, gRPC, Doctor, Cert Inspector, Smart-Card PIN),certapi cors, full MCP toolset,.http/Postman/Insomnia/WSDL imports, Bash/Zsh completions, andCtrl+K/Ctrl+Fshortcuts. - Synced
README.md, GitHub Pages (docs/index.html), and wiki pages (05,11,17,20,21,22,23,28) with all1.102.0–1.103.0features.
Full Changelog: v1.103.0...v1.103.1
v1.103.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.103.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
- Fetch spec & browser CORS accuracy:
- Forbidden browser method checks (
CONNECT,TRACE,TRACK) and forbidden method-override headers (X-HTTP-Method*,Access-Control-Request-Private-Network), blocked before any network call asfetch()does. - Fetch 1,024-byte combined safelisted request-header cap and inverted
Rangebound detection (bytes=100-50). - Cross-site
Set-Cookievalidation under--credentials(SameSite=None,Secure, and third-partyPartitioned/CHIPS notes, with same-site awareness). - Response inspection for
Cross-Origin-Resource-Policy(CORP),Cross-Origin-Embedder-Policy(COEP),Cross-Origin-Opener-Policy(COOP), andTiming-Allow-Origin. - Preflight
Varycompleteness notes (Access-Control-Request-Method,Access-Control-Request-Headers), trailing-slashAccess-Control-Allow-Originhint, Safari 10-minute cap note, and properAccess-Control-Max-Age <= 0("disables preflight caching") reporting.
- Forbidden browser method checks (
- Expanded
certapi cors --auditprobes & findings:- Port look-alike (
:8443/:8444), userinfo (@), underscore (_.), and encoded backtick (%60.) bypass probes, plushttp://localhost/http://localhost:3000dev-origin checks against non-local targets. - Findings for dynamic
Access-Control-Allow-OriginwithoutVary: Origin, credentialed preflight reflection, and (with--preflight-without-cert) unauthenticated mTLS preflight rejection.
- Port look-alike (
- CLI CORS workflows &
--suggestexpansion:certapi cors --diff <other-url>to compare CORS verdicts, preflight/response headers, and readable headers across two endpoints.certapi cors --from-openapi <spec.json> [--base-url <url>]to sweep every operation in an OpenAPI 3.x / Swagger 2.0 JSON spec.--max-age <seconds>for--suggest,"suggestion"included in--jsonoutput, and 8 new config targets (apim,yarp,cloudflare,caddy,traefik,apache,fastapi,go) with shell tab completion.cors <origin> exposes <Header>/!exposes <Header>assertions, multi-origin CORS assertion probing onGET/HEAD(catches reflecting servers), andcertapi run --origin <o> --cors-preflight.
- Desktop
CorsWindow& MCPcors_checkparity:- Desktop
CorsWindowadds multi-method matrix input, editable request headers, Preflight only, From HAR… inspection, all 14--suggestframeworks, automatic Private Network Access notice, and Copy, Copy Fix, and JSON… export buttons. - MCP
cors_checkaddsws:///wss://WebSocket origin checks & audits,origins/methodsmatrix arrays,preflightOnly,preflightWithoutCert,suggest/maxAge, anddiffUrl.
- Desktop
- Mock server
--cors-faultadditions:star-with-credentials,null-origin,missing-expose,bad-methods,bad-headers,preflight-no-pna, andpreflight-require-cert(plus tab completion).
Full Changelog: v1.102.0...v1.103.0
v1.102.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.102.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
- CLI
sendscripting & polling flags:--select <path>(with--raw) extracts a JSON value directly by dotted/indexed path without needingjq, exiting 1 if the path is missing or the body is not JSON.--until <expr>(with--interval <seconds>and--max-wait <seconds>) polls an endpoint over pooled connections until an assertion expression passes;--watch <seconds>repeats a request until Ctrl+C.--dry-runresolves variables, profile defaults, certificate, headers, and proxy routing and prints the request (withAuthorizationmasked) without touching the network.-D, --dump-header <file>writes the response status line and headers to a file, and--max-size <bytes>fails if a response exceeds a byte budget.
- Offline JWT inspector:
certapi token inspect [<jwt-or-origin>] [--workspace <file>] [--json]decodes JWT header, claims, scopes, roles, issuer, audiences, and expiry completely offline; in the desktop app, clicking the session token chip adds Inspect JWT claims…. - Deep X.509 certificate inspector & store filters:
certapi certs --inspect <thumb|subject>and--inspect-file <path>(with--cert-password,--key-file, and--check-revocation) print SHA-1/SHA-256 thumbprints, serial, SANs, EKUs, key algorithm/size, CNG/hardware/smart-card provider detection, and chain status.certapi certs --valid-only,--client-auth-only, and--expiring-within <days> [--fail]filter the store and support CI certificate-expiry checks.
- Suite orchestration (
run):--fail-fast,--parallel <n>,--filter <glob>, and--repeat <n>for faster, targeted CI collection runs. - Load testing upgrades (
bench):--rate <rps>constant-arrival-rate pacing,--threshold <expr>/--max-error-rate <v>SLO gates (e.g.p99 < 250ms,error-rate <= 1%,rps >= 50),--histogramASCII latency distribution, and--csv <file>per-sample export. - VS Code / JetBrains
.httpimporter:certapi import http <file>and Import ▾ → Import .http file… (plus Postman, Insomnia v4, and WSDL imports directly from the desktop app's Import menu). - Code snippet export CLI:
certapi export code <curl|powershell|python|csharp> <Collection/Request> [-o <file>] [--env <name>]generates ready-to-run client code from saved requests. - Diagnostics & gateway additions:
certapi doctor --server-cert-out <file.pem>,--chain-out <file.pem>, and--check-revocation.certapi serve --print-pacprints aFindProxyForURLPAC script for configured upstreams/allowlist, and/_certapi/statusreports per-site certificate expiry countdowns.certapi completion bashandcertapi completion zshjoin PowerShell tab completion.
- New MCP tools:
doctor,inspect_cert,inspect_token, anddiff_known_goodjoin the MCP server's toolset. - Desktop app tools & productivity:
- Tools ▾ menu with Connection Doctor…, Benchmark current request…, gRPC Client…, Inspect selected certificate…, Unlock smart-card PIN…, and Quick Jump (
Ctrl+K) command palette across tabs, collections, environments, and tools (plusCtrl+Fto focus response search).
- Tools ▾ menu with Connection Doctor…, Benchmark current request…, gRPC Client…, Inspect selected certificate…, Unlock smart-card PIN…, and Quick Jump (
Changed
- Performance & memory optimizations across CLI, Core, gRPC, and Desktop:
- Fast 40-hex thumbprint lookup in
CliCert, lazyApiClientinstantiation, single-pass global option parsing, and selective workspace decryption (AppState.LoadLightFrom) socertapi sendskips decrypting History/Collections bodies when read-only. - Streaming
AppState.PeekThemeandNeedsSecretUpgradeviaUtf8JsonReader+ArrayPool, structuralAppStatecloning (SnapshotForSave/SaveSnapshotTo) instead of JSON round-trips, pinned DPAPI entropy andArrayPoolbuffers inDpapiSecretProtector, and background non-blocking workspace saves in the desktop app. - Offloaded response formatting and diagnostics onto background threads in
MainWindow, lazyResponseView.Raw(byte[], out bool)slicing for multi-MB bodies, virtualizedHistoryList/CollectionsTree/NetworkList, coalesced Network UI updates, cachedHelpWindowsections, and pre-sizedSyntaxHighlighter/Benchhot paths (DiscardBodypooled drain inApiClient). - Single-pass assertion evaluation in
RequestRunner, memoized certificate lookups inrunand chain runs, and batched gRPC reflection descriptor loading (DescriptorPool.LoadServicesAsync).
- Fast 40-hex thumbprint lookup in
Full Changelog: v1.101.0...v1.102.0
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
v1.100.2
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.100.2/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
Security
- The mock's certificate authority is now limited to what the mock needs:
localhost,
127.0.0.0/8and::1, the mock's own subject names, and TLS server and client
authentication (a critical X.509 name constraint and an extended key usage). Since 1.100.0 its
key is kept between starts, and the docs suggest trustingmock-ca.cer, so before, anything able
to read that key as you could have made a certificate for any site, a signed program or a signed
e-mail that your machine would accept. An authority
kept by 1.100.0 or 1.100.1 is replaced on the next start: trust the newmock-ca.ceronce, and
remove the old one (certutil -user -delstore Root <old thumbprint>).
Fixed
- A response whose
Content-Lengthclaimed more than it sent no longer reserved that much memory
up front: the buffer starts at 4 MB and grows as the bytes arrive. Before, a server claiming
1.9 GB and sending ten bytes cost 1.9 GB, and under a memory limit failed with
OutOfMemoryException. A body larger than the 2 GB that can be held in memory now says so. mock: on a kept-alive connection the 10-second idle limit applied to the whole next request,
so an upload that took longer than that to arrive was dropped. It now applies only to waiting
for the request to begin; once it has, the request has 30 seconds from then, as a first one
has from the connection.- A value starting with a dash after a long option that takes one (
--user-agent -ok,
--query -debug=1) was split as a curl bundle (-o k,-d ebug=1). It is now the option's
value, on every command and incertapi curl; after a switch (--include -sS) or an option
whose value is optional (--cors -sS) a bundle is still a bundle. certapi curljoined--data-urlencodeparts after all the-dparts; they are now joined in
the order they were given, as curl does, in the body and with-Gin the query. Beside
--data-binarythey are still refused.- Two mocks starting at the same moment in one
--cert-dircould each make a new authority and
leave one's key beside the other'smock-ca.cer. They now take turns. ApiClientwith an infinite request timeout timed the response body out at once.selftestleft the keys it made ahead undisposed when making a certificate failed.tlssays the server kept the connection open for at least half a second, as it waits up
to 1.5 s on a slow link.
Full Changelog: v1.100.1...v1.100.2
v1.100.1
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.100.1/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
Fixed
certapi curlandimport curlkept a pasted command's Windows paths intact only inside
quotes: unquoted, a path such as-E certs\me.pfxor--cacert C:\certs\ca.cerlost its
backslashes, as bash would drop them. A backslash before an ordinary character is now kept;
before a space, a quote,$or another shell character it still escapes it, so a bash command
reads as it did.
Full Changelog: v1.100.0...v1.100.1
v1.100.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.100.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
certapi curl: paste a curl command and it runs with curl's meaning, throughsend— the
Windows certificate store,--timing,--assertand the rest still apply, and can be added to
the pasted line. Redirects are followed only with-L,-dis a form body and several are
joined with&,-d @filedrops line breaks,--json <data>sends JSON,-vturns on
--debug,-csaves cookies, and-E/--certtakes a file,file:password, or curl's
WindowsCurrentUser\MY\<thumbprint>. One quoted argument is split as a shell would, browser
"Copy as cURL" (bash or cmd) included.sendreads more of curl's own spellings: bundled switches (-sSL,-sk), values attached to
their letter (-XPOST,-HAccept:x,-d{}),-L/--location,--compressed,-S,-#,
-e/--referer,--data-raw(a literal body),--data-binary,-T/--upload-file(PUT),
-G/--get(data into the query),-O/--remote-name,--url,-m,--fail-with-body,
--oauth2-bearer,--tlsv1.2/--tlsv1.3and-E <file[:password]>. Most of these were refused
with a hint before.-L,--compressed,--tlsv1.xand-Ework on every command that has
the option they stand for. curl's--json <data>is refused with what to use, since certapi's
--jsonprints an envelope.mock --tlsand--mtlskeep their certificates in--cert-dirand use them again on the next
start, somock-ca.ceris trusted once andmock-client.pfxstays the same. The private keys
are kept encrypted to the Windows account (DPAPI). New ones are made when the kept ones are
missing or near expiry, or with the new--new-certs; a--tls-modecertificate is still made
each time. Startingmock --mtlsis quicker for it (on Windows, 270 ms → 165 ms).
Changed
certapi.exetakes its culture data from Windows (NLS) instead of loading ICU, about 10 ms
sooner on every command that prints a number or a date (send111 → 102 ms,certs
85 → 75 ms). What it prints is the same.- A refused connection to this machine is reported at once instead of after two seconds. Windows
retries a refused connect twice, so every send to a local server that was down took 2 s (a
20-requestrunagainst one: 41 s), and so did every new connection tohttp://localhost:<port>
when the server listened on 127.0.0.1 only, sincelocalhostis tried as::1first. The
retries are now turned off for loopback addresses only — a real network keeps them, since a SYN
can be lost there — and only while nothing listens on the port: Windows refuses the same way
when a server's queue of waiting connections is full, so a refusal from a port something does
listen on is retried as before, and a busy local server still takes every connection.send,
run,curl,doctor,tls, the streams,grpc,serveand a proxy on this machine all get
it. tlsno longer waits a fixed 400 ms after every TLS 1.3 handshake. A server that asked for no
certificate is given two round trips and a margin to ask late (50 ms to a nearby one: 692 ms →
391 ms); one that asked is given half a second to refuse the certificate, since that is when a
refusal shows (see Fixed).selftestand amockmaking new certificates generate their RSA keys in parallel.send --har,run --jsonandcerts --jsonwrite their JSON without the reflection serializer,
which spent 30–60 ms building metadata first; the output is byte for byte the same.- Every command starts a little sooner: the
--helpcheck no longer builds an expression per
option when no-h/--helpwas typed, and a URL, header or body with no{{skips variable
resolution, and with it the one-time set-up of every generated expression. mockchecks its kept certificates by their signature instead of building a chain.send --jsonwrites its envelope directly instead of through the reflection serializer, about
50 ms sooner on Windows (201 ms → 147 ms against a local server). The text is the same, byte
for byte;mcp's send tool gets the same saving.--debuglines say when they happened:debug: [+0.059s] …, counted from the start of the
process, so a slow step shows as a gap. The first line names the version and runtime, and new
lines say how long the workspace and the certificate store took to read.--log-filelines carry
the same offset.- Large responses use about half the memory: the body is read once, into an array of its own size,
instead of being buffered and then copied (a 286 MB download: 689 MB peak → 341 MB, and about
twice as fast). The time reported and the request timeout still include the body. - The app's Pretty view formats a JSON body over 4 MB too, for as much as it shows, instead of
showing it unformatted; it reads only as far as it formats, so a 28 MB body costs the app 65 ms
rather than the second it took to format all of it. - The app's Pretty view shows the first 128 K characters of a large body (was 512 K): laying out
512 K characters of coloured text held the window for about 0.9 s. Raw still shows the first
1 MB, and Copy and Save… take all of it. - Text output to a file or a pipe is no longer slowed by .NET's 256-byte console buffer, which on
Windows made every 256 bytes a separate system call:--prettyand--jsonon a 28 MB body
took 11 s and 9 s when redirected. Redirected stdout now has a 64 KB buffer, still flushed after
every write, sosse,ws, a server's log and MCP replies still appear as they happen. --prettyon a large JSON body writes the formatted text as it goes instead of building it in
memory first (28 MB of JSON: 431 MB peak → 87 MB). The output is byte-for-byte the same.- Faster start-up:
certapi.exeand the app are published ReadyToRun and no longer compressed.
On Windows x64,certapi sendto a local server went from 240 ms to 134 ms and its peak memory
from 89 MB to 46 MB; the app's window is ready in 0.73 s instead of 1.0 s, using 131 MB instead
of 225 MB. The downloads are larger for it: about 95 MB and 160 MB. mockkeeps connections alive between requests, sobenchagainst it measures requests
rather than handshakes.--no-keep-aliveanswersConnection: closeas before.- Requests through a proxy reuse their connection: the CONNECT tunnel and its TLS handshake are
made once per site instead of once per request, so a suite,benchor the app behind a
corporate proxy no longer pays a tunnel and a handshake for every call. HTTP/3 connections are
pooled the same way. Each response still reports the server certificate it was sent over. - A large workspace loads faster on every command-line run: it is read with a serializer generated
at build time instead of reflection (sendwith a 2 MB workspace: 170 ms → 130 ms). The file
written is byte-for-byte the same. mocksends each response without waiting on Nagle's algorithm, which could hold the body of
every response on a kept-alive connection for a delayed ACK (about 40 ms behind a proxy).- The regular expressions used on every request (
{{variables}}, URL rewriting, log redaction and
others) are generated at build time instead of compiled at start-up.
Fixed
tlssaid "client certificate not requested" for a server that requires one, when no--cert
was given — the ordinary case for a Windows server, which sends its certificate request with no
list of issuers. It now counts the request either way, and says when the server ends the
connection just after the handshake:refused … it requires a client certificate, or with
--cert,refused … it did not accept the certificate sent(exit 1). A client finishes its
side of the handshake before the server judges its certificate, so this is where an mTLS
refusal shows.ws -m … --expect 1no longer waits for ever when stdin is a pipe nobody closes (a CI step, a
scheduled task, a parent script): piped lines are sent as they arrive instead of being read to
the end before connecting.mocklistens on::1as well as127.0.0.1.localhostresolves to::1first on Windows,
and the refused connection there cost about two seconds before every new connection to
https://localhost:<port>— the name the mock's certificate is for. The certificate now names
127.0.0.1and::1too, sohttps://127.0.0.1passes a trust check againstmock-ca.cer.benchno longer claims connections were pooled and reused when the server answered
Connection: close; it says how many responses closed their connection (closedByServerin
--json).--helpforbrowse,call,cors,crawl,mock,mqtt,signalrandtlsnow ends with
the global options line like every other command.crawl --helplists the certificate and
transport options in full instead of pointing atsend, and `mqtt --h...
v1.99.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.99.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
CORS, checked the way a browser checks it. cors now follows redirects hop by hop, checks Private
Network Access, grades a loose policy with --audit (WebSockets too), judges a whole browser
capture with --from-har, and prints the server fix with --suggest. Suites, doctor and the app
can check CORS as they go. mock and serve can answer with a strict, a public or a deliberately
broken CORS policy. Nothing that worked before needs changing.
Added
cors --audit: probes for the CORS mistakes that let another site read an API's answers — any
origin reflected,nulltrusted, look-alike domains that pass a substring or regular-expression
check, plain http trusted, every subdomain trusted, preflights that grant anything — graded high
to info, high when credentials are allowed too. Only GET and OPTIONS are sent; exit 1 on a high
or medium finding.cors --private-network: checks Private Network Access (Access-Control-Request-Private-Network
on the preflight,Access-Control-Allow-Private-Networkin the answer). A public page calling a
private or loopback address is pointed out either way.mock --corsgrants it.corsfollows redirects as a browser does: each hop CORS-checked, a new preflight where needed,
POST to GET on 301/302/303,Authorizationdropped across origins, andOrigin: nullafter a
cross-origin redirect.--max-redirsand--no-redirectapply; the hops are reported.corstakes several--originand-Xvalues (repeated or comma-separated) and prints a table.- A
cors <origin> allowed|credentials|blockedassertion forsend --assert, saved requests and
run, and a CORS target on the app's Tests tab. The request is sent with thatOrigin. doctor --origin <o>: a final cors stage.- The app's Diagnostics view shows the CORS verdict for a request sent with an
Originheader. mcpcors_check:auditandprivateNetworkarguments; redirects are followed with every
hop checked against the allowlist.cors --from-har <file>: every cross-origin request in a browser capture, judged from the
recorded preflight and response;--originjudges them as if from another page,--live
re-checks each against the server now.run --origin <o>(and--cors-credentials): a CORS check on every request of a suite, in its
table, JUnit and markdown reports. Nothing is written to the collection.cors --suggest [<framework>]: the server configuration that grants what was checked, as an
allow-list, for ASP.NET Core, nginx, Express, Spring, IIS and AWS API Gateway.cors --preflight-without-cert: sends the preflight without the client certificate, as the Fetch
standard does, to catch a server that demands the certificate in the TLS handshake.- WebSockets:
cors ws(s)://… --origintries a handshake from each origin;--auditgrades
cross-site WebSocket hijacking (any origin, null, look-alikes, plain http accepted).ws --origin
sends anOriginheader. - The app: a CORS… button opens a full check of the current request — preflight, redirects,
audit, WebSocket origins, and the fix for a chosen server. mock --cors-headers,--cors-methods,--cors-exposeand--cors-max-age: a fixed CORS policy
instead of granting whatever a preflight asks.--cors-staranswers*without credentials.mock --cors-fault: deliberately broken CORS —double-origin,preflight-401,
preflight-redirect,preflight-only,no-vary.- A
--routesroute can carry its own"cors"policy (false,true, or an object), replacing
--corsfor that route. serve --cors-methodsand--cors-no-credentials, and profile keyscorsHeaders,corsExpose,
corsMethods,corsMaxAgeandcorsCredentials.serve --corslogs, once per site, when it replaces an upstream's own CORS headers.
Full Changelog: v1.98.0...v1.99.0
v1.98.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.98.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
More ways to reach a service with a client certificate: seven new commands (call, tls,
crawl, browse, signalr, mqtt, cors), more of curl on send, connection routing options,
gRPC-Web, and OAuth clients that authenticate with the certificate instead of a secret. Nothing
that worked before needs changing; the Changed list covers the few curl options that used to
be refused and now work.
Added
run --junit <file>: the results as JUnit XML for a CI test report (Azure DevOps, GitLab,
Jenkins, GitHub reporters). One test case per request, grouped by folder; failed assertions are
failures with what arrived instead, a request with no answer is an error, and skipped chain steps
are skipped. URLs are redacted.- JSON Schema assertions:
body <path> schema <schema>(or@file), and aschemaoperator on
the app's Tests tab. A built-in, offline checker covers the common keywords, local$refand
OpenAPI 3.0'snullable; a failure names where and why. import openapiwrites a status assertion and, where the response has a JSON schema, a schema
assertion for each operation, so an imported collection is a contract test.import bruno: a Bruno collection folder, a single.brufile, or Bruno's JSON export. Folders,
seq order, params, headers, bodies, auth (withinheritresolved) and environments come across;
assertlines become assertions and post-response variables become captures where they map.- Digest authentication: the Digest auth type,
send --digest -u user:pass, and Digest from
Postman, Insomnia and Bruno imports. Only the request's own origin is answered, and never a Basic
challenge. - AWS Signature v4: the AWS Signature v4 auth type,
send --aws-sigv4 aws:amz[:region[:service]]
(curl's spelling) with the key from-uor theAWS_*environment variables, and AWS auth from
Postman (awsv4), Insomnia (iam) and Bruno imports. Region and service are read from an AWS host
when left out; only the origin named is signed. - HMAC request signing: the HMAC signature auth type and
send --hmac. Template signing
builds the string to sign from placeholders ({method},{path},{timestamp},{nonce},
{bodySha256},{header:Name}, …), puts the signature in the header you name as hex, base64 or
base64url, and can send timestamp and nonce headers it signs too. HTTP Message Signatures
(RFC 9421,hmac-sha256) and the older HTTP Signatures draft are built in. Only the origin
named is signed. mcp:ws_exchangeandsse_readtools. Each opens a WebSocket or event stream on an allowed
host with the pinned certificate, gathers what arrives until a count, a time (never past
--timeout) or the end, and returns it;--max-bodybounds the total.mcp --print-config <claude|vscode|cursor>: prints the host configuration block for the options
given, with file paths made absolute, and exits. Secrets are refused rather than written out.mcp --allow-any: allow every host on purpose. Without--allowor--allow-any, the start-up
line still warns.serve --allow-framing [<origins>]: let pages be framed by this machine's pages or the origins
listed.X-Frame-Optionsand CSPframe-ancestorsare replaced. Not part of--browser.serve --open [<path>]: open the browser at the first site once the gateway is listening.certapi call <spec> <operationId>: calls one OpenAPI operation by name, with each--param
placed where the document puts it (path, query, header, cookie), then checks the status and the
body against the document's schema. A missing required parameter stops the call;--listlists
the operations; everysendoption applies.certapi tls <host[:port]>: a TLS handshake with any service (HTTPS, LDAPS, a database, a
broker;--starttlsfor SMTP, IMAP, POP3, FTP, LDAP and PostgreSQL) and what it showed:
protocol, cipher, ALPN, the chain with each key's SHA-256, trust, and whether a client
certificate was asked for, with the issuers it accepts.certapi crawl <url>: walks a site's links with the client certificate and reports each page and
resource, with broken links listed and exit 1 when there are any. Scope, depth, include/exclude,
robots.txt, parallelism and--mirror <dir>for an offline copy.certapi browse <url>: renders a page in WebView2 with every request sent by certapi with the
client certificate, then saves a screenshot (--full-pagetoo), a PDF, the rendered DOM, or the
result of--script.--wait-for <selector>waits for a single-page app; headers go to the
page's own origin only.certapi signalr <hub-url>: negotiates (following an Azure SignalR redirect), does the JSON hub
handshake over a WebSocket with the certificate, calls methods (--invoke,--send,--stream)
and prints the events the hub sends (--on,--count,--seconds).certapi mqtt <broker-url>: an MQTT 3.1.1 / 5.0 client overmqtts://orwss://that presents
the client certificate; subscribe, publish (QoS 0 or 1, retained), and the broker's reason when it
refuses a connection or a subscription.grpc --grpc-weband--grpc-web-text: gRPC-Web for services behind Envoy, grpcwebproxy,
UseGrpcWebor a Connect server. Unary and server-streaming methods; needs--protoset.token --client-auth private_key_jwt: an RFC 7523 client assertion signed by the certificate's
key (RS256, ES256/384/512) instead of a secret, as Entra ID's certificate credentials expect;
--assertion-audsets the audience.--client-auth tls_client_auth(RFC 8705) lets the
handshake authenticate the client. A token bound to the certificate (cnf.x5t#S256) is reported.token --grant code: browser sign-in with PKCE from the command line, the redirect caught on
loopback;--authorize-url,--redirect-port,--no-browser.sendtakes more of curl:-b/--cookie(a string or a Netscape cookie file),
--data-urlencode,-w/--write-outwith curl's variables,-r/--range,-C/--continue-at
to resume a download, and--max-filesize.certapi cors <url> --origin <o>: checks a URL the way a browser checks a cross-origin request.
Says whether a preflight is needed and why, sends it as a browser does (no cookies or
Authorization), sends the request withOrigin(GET and HEAD only, unless--actual), and
lists each CORS rule that passed or failed, the verdict (exit 0 or 1) and the headers a script
could read.--credentialsapplies the stricter rules.send --origin <o>: sends theOriginheader and says on stderr whether a page on that origin
could read the response, with and without credentials.mock --cors [<origins>]: the mock answers preflights and sets CORS headers like a server with a
policy; an origin not listed gets a 403 preflight and no CORS headers.serve --cors-headersand--cors-expose: fixed lists forAccess-Control-Allow-Headersand
Access-Control-Expose-Headersinstead of echoing and exposing everything.mcp: acors_checktool, the same check for an agent, on allowed hosts only.- Transport options:
--connect-to(send a host's connections elsewhere, port included),
--interface(a local address or adapter to send from),--unix-socketand--named-pipe(the
Docker engine API, among others),--pinnedpubkey(curl's public-key pins, checked as well as
the chain),--proxy-header(headers for the proxy'sCONNECTonly) and
--http2-prior-knowledge(h2c).
Changed
servealways drops response headers that would leave lasting state on the gateway's own
origin:Strict-Transport-Security(it ignores ports, so it pinnedlocalhostto https for every
local tool),Alt-Svc,NEL,Report-To,Reporting-Endpoints,Public-Key-Pinsand
Expect-CT. Without--vhost, where every site shares one origin,Service-Worker-Allowedand
Clear-Site-Dataare dropped too.serveover plaintext removes a CSP'supgrade-insecure-requestsandblock-all-mixed-content,
which sent the page's own requests to an https port nothing answers, and drops a cookie's
Partitionedattribute, which needsSecure.serve --rewrite-locationalso rewrites the URLs inLinkandContent-Location.-b,--cookie,--data-urlencodeand-w/--write-outare no longer refused as curl habits
with another meaning: they now do what curl does.certapi.execarries the WebView2 loader inside it, forbrowse.
Full Changelog: v1.97.0...v1.98.0
v1.97.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.97.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
Fixes from a security audit of certapi mcp and certapi serve, and a move to .NET 10: .NET 9
reached end of support on 2026-11-10 and gets no more security fixes. Some defaults are stricter;
the Changed list says what a working setup may notice.
Security
mcp: thevarsargument ofrun_savedandrun_chaincan no longer change a saved request's
scheme, host or port. An agent could send a saved request, with its saved bearer token, API key,
password or Windows sign-in, to a host of its choosing whenever--allowwas missing or listed
more than one host. A saved request whose host only comes fromvarsis refused too.mcp: a host refusal names the host only. It used to quote the resolved URL, which could hold a
secret variable's value.mcp: aHostheader that differs from the URL's host, and gRPChostmetadata, are refused,
so a request cannot reach another name on a shared front end through the allow-list.mcp: acertapi.config.jsonfound by walking up from the working directory is no longer read.
An MCP host picks that directory, and a profile there could turn off certificate checks or add a
proxy.--config,CERTAPI_CONFIGand the per-user file still apply; the start-up line names
the file and what it changes, and--insecureprints its own warning.serve: a WebSocket upgrade presents its site's own certificate, trust, revocation and Windows
sign-in settings. It used the gateway's defaults, so a site set to verify its server was not
verified for WebSockets under--insecure.serve:--corswith no list (and so--browser) answers only pages on this machine
(localhost,*.localhost, loopback). It echoed any origin with credentials and answered the
Private Network Access question, so any web page could use the client certificate.serve: requests and WebSocket upgrades from an origin the gateway does not accept, and
cross-site browser requests that are not page loads, are refused with 403 before anything is
forwarded. Only preflights were refused before.serve: a loopback-only gateway answers 421 to aHostthat is not a loopback address,
localhostor a*.localhostname, which stops DNS rebinding.serve: an empty--tokenis a usage error. It satisfied the token requirement for anyone who
sent an empty header.serve:--windows-authcannot be combined with--allow *; a wildcard entry prints a warning.serve: a dynamic target whose host is a configured site connects as that site.serve --recordredacts credential fields in JSON and form bodies, sent and received, and
credential query values inLocationand the redirect address.serve --tls:netshis started from System32 by full path; the gateway's key file moves out of
the roaming profile and is encrypted for the Windows user;--tls-untrustalso removes the copy
bound inLocalMachine\My.- Header values with CR, LF or NUL are refused everywhere a request is built (
send,run,mcp,
serveheader rules, routes files and profiles). They were written as extra header lines. mock: a scenario'sbodyFilemust stay inside the scenario's folder; request bodies over 16 MB,
requests that take over 30 seconds to arrive, and more than 256 connections at once are dropped.
Fixed
mcpno longer exits on a JSON-RPC batch, a line that is not an object, or an unpaired surrogate
escape. A batch is answered with an array; a malformed message gets a JSON-RPC error.mcpkeeps reading while a tool runs:pingand listings are answered at once,
notifications/cancelledstops the call, and closing stdin ends the process within a few seconds.mcpchecks tool arguments against each tool's schema and reports a wrong type or an unknown
argument as a tool error that names the field.mcp: an unknown tool is JSON-RPC error-32602; a request with anidand anotifications/
method gets-32601; anidthat is not a string or an integer, or a missing"jsonrpc":"2.0",
is-32600; a byte-order mark before the first line is ignored.serve: a WebSocket upgrade the upstream (or its proxy) refuses now reaches the browser as a
close with code 1011 and the reason on Windows too; http.sys could drop the frame and reset the
connection instead.
Added
mcpspeaks MCP revision 2026-07-28 alongside the handshake revisions (now through 2025-11-25):
server/discover, the per-request_metaprotocol version,-32022for an unsupported version,
resultType,ttlMsandcacheScope, per-request log levels,resources/templates/list.mcp --max-body <size>(default 1 MB): a tool result carries at most this much of a response
body, marked"truncated": true. The rest is never read.
Changed
- Built on .NET 10 (LTS, supported to November 2028). The self-contained downloads bundle .NET
runtime 10.0.15; building from source needs the .NET 10 SDK, 10.0.404 or later. - The mutation-testing tool is Stryker.NET 5.1.0, the first release that runs on .NET 10.
- A
--noproxyrange with host bits set (10.0.0.5/8) is still refused on .NET 10, which would
otherwise read it as10.0.0.0/8. mcp --allowtakes a bare host name or IP address; an empty value, a scheme, port, path,
wildcard or comma stops the launch.mcpwrites its notes to stderr as well as sending them as log notifications.serve --corswithout a list no longer answers public origins: list them, e.g.
--cors https://app.example.
Full Changelog: v1.96.3...v1.97.0