Repository navigation
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