porch.

Infrastructure checks

Look closer.
Know what answers.

Porch checks what your servers show the outside world: TLS, website, mail and DNS. Every finding links to the standard behind it.

TLS & certificatesWeb reachMail policyDNSName inventory

Run it yourself

Try itLive

Our domain.
A real result.

Domain

denyfirst.dev — our own domain

Checks
Names names under the domain, from certificates and DNS informational

This demo checks only our own domain. To check yours, run Porch yourself.

Why self-hosted

Porch, or an online scanner?

The same kind of checks. The difference is where the result ends up.

Porch

  1. You
  2. Your server
  3. Your domain

The result stays on your server, encrypted under your password.

An online scanner

  1. You
  2. Their server
  3. Your domain

Their server sees the domain and keeps the result.

Who sees the results
Porch: Only you
An online scanner: Its owner, sometimes everyone
Where they are kept
Porch: On your server, encrypted
An online scanner: On their site
Which domains it checks
Porch: Only ones you prove are yours
An online scanner: Anyone’s
TLS, web, mail and DNS
Porch: One tool, one report each
An online scanner: Often separate sites
Every finding
Porch: Links the standard it rests on
An online scanner: Varies
Price
Porch: Free and open source
An online scanner: Free, or paid for more

Porch asks only the sources that hold an answer, straight from your server: Cert Spotter which certificates are logged for a domain you proved, and the certificate authority for its revocation list and whether your certificate was revoked. No service in between learns what you check. Every connection is listed.

Run it yourself

Four steps.

You need a Linux server and an account that can use sudo.

  1. Install Docker

    On Debian 13, or Ubuntu 24.04 and later, the system's own packages: the engine, the docker command and Compose. Their names differ, so each system has its own lines. Debian puts the command in docker-cli; Ubuntu calls Compose docker-compose-v2, and its docker-compose is the old Compose v1, unmaintained since 2023, which is not used here: if docker-compose with a hyphen works and sudo docker compose does not, that is v1, and the Ubuntu lines put v2 beside it. The last line has to print a version. On any other system, Red Hat's family included, follow Docker's guide. Every docker command here runs with sudo: the docker group is root without a password.

    Debian 13
    sudo apt-get update
    sudo apt-get install -y docker.io docker-cli docker-compose
    sudo docker compose version
    Ubuntu 24.04 or later
    sudo apt-get update
    sudo apt-get install -y docker.io docker-compose-v2
    sudo docker compose version
  2. Get it

    Downloads v0.37.0's compose file, shown below, and checks its signature and that the signed list is v0.37.0's, so no older release can be handed over in its place. The check must print Good "file" signature with the key SHA256:ut6bginhZ4lZINMSXNDv3vJ6fyvmDHhtnoBJH0/Nr9Y and docker-compose.yml: OK. If not, the file is removed. The last line removes the key and the signed list, which only the check needs. More on verifying.

    on the server
    mkdir -p porch && cd porch
    for f in docker-compose.yml SHA256SUMS SHA256SUMS.sig; do curl -fsSLO "https://github.com/denyfirst/porch/releases/download/v0.37.0/${f}"; done
    echo 'releases@denyfirst.dev ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDD7Ie9zRf76RynH052/Abkv5k2nzosQd2DihyQMixVR' > allowed_signers
    ssh-keygen -Y verify -f allowed_signers -I releases@denyfirst.dev -n file -s SHA256SUMS.sig < SHA256SUMS && grep -qF "_v0.37.0_" SHA256SUMS && sha256sum --ignore-missing -c SHA256SUMS || { rm -f docker-compose.yml; echo 'STOP: docker-compose.yml did not verify and was removed'; }
    rm -f allowed_signers SHA256SUMS SHA256SUMS.sig
  3. Start it

    Create the data folder and start Porch. The first start prints a setup code to the log, once: the last line shows it. Open Porch and choose its password with it. It works once, for fifteen minutes.

    on the server
    mkdir -p porch-data && sudo chown 65534:65534 porch-data
    sudo docker compose up -d
    sudo docker compose logs porch 2>&1 | grep -A2 "setup code"
  4. Open it

    Porch listens only on the server. Connect through SSH, then open http://localhost:8080.

    on your computer
    ssh -L 8080:127.0.0.1:8080 you@your-server

What you are about to run: docker-compose.yml

Read it before you run it. Step 2 downloads and checks the real file.

docker-compose.yml
services:
  porch:
    image: ghcr.io/denyfirst/porch@sha256:6ab058eb84ccd9e4ae59108ce74253aef7988f3c36a03b1ececfa4df0e46fc93
    command:
      - "-listen"
      - "0.0.0.0:8080"
      - "-verification-secret-file"
      - "/data/secret"
      - "-access-file"
      - "/data/access"
    ports:
      - "127.0.0.1:8080:8080"
    volumes:
      - /etc/ssl/certs:/etc/ssl/certs:ro
      - ./porch-data:/data
    environment:
      SSL_CERT_DIR: /etc/ssl/certs
      CERTSPOTTER_TOKEN: ${CERTSPOTTER_TOKEN:-}
    read_only: true
    security_opt:
      - no-new-privileges:true
    cap_drop:
      - ALL
    restart: unless-stopped
  scan:
    image: ghcr.io/denyfirst/porch@sha256:6ab058eb84ccd9e4ae59108ce74253aef7988f3c36a03b1ececfa4df0e46fc93
    profiles: ["cli"]
    entrypoint: ["/porch-scan", "-verification-secret-file", "/data/secret"]
    volumes:
      - /etc/ssl/certs:/etc/ssl/certs:ro
      - ./porch-data:/data:ro
    environment:
      SSL_CERT_DIR: /etc/ssl/certs
      CERTSPOTTER_TOKEN: ${CERTSPOTTER_TOKEN:-}
    read_only: true
    security_opt:
      - no-new-privileges:true
    cap_drop:
      - ALL
Show the whole fileShow less

To upgrade, run step 2 again in the same directory, then sudo docker compose up -d. To remove it, sudo docker compose down --rmi all, then delete the directory and the DNS record. Full guide: self-hosting

Questions

Before you ask.

Six short answers. Each card names the document that says it at length.

Does Porch send my results anywhere?

No.

Results stay on your own machine, sealed under your password. No account with us, no telemetry.

Source self-host.md

Can it check any domain?

Only yours.

You prove a domain with a TXT record or a file on the site, and the proof is read again on every scan.

Source scope.md

What will the checked server see?

A polite visit.

Handshakes and ordinary requests, a fixed list of files that should never be public, and one connection to each of twenty-one risky ports. No exploits, no logins, and every web request names Porch.

Source checks.md

What do I need to run it?

Docker.

A Linux server with Docker. No Go, no source, no build. The command line also runs on macOS and Windows.

Source README.md

How do I know the download is yours?

Signed.

Every release is signed and rebuilds byte for byte. Step 2 above checks the signature with this key:

SHA256:ut6bginhZ4lZINMSXNDv3vJ6fyvmDHhtnoBJH0/Nr9Y

Source verify.md

Is it free?

Yes.

Open source under AGPL-3.0. No paid tier, no investors, nothing to sign up for.

Source LICENSE

Found a vulnerability?

Tell us privately first, so a fix can ship before anyone else knows.

Report on GitHub security@denyfirst.dev

Anonymous and pseudonymous reports are accepted without question. There is no bug bounty.

PGP key

75B7 A18A 8971 5E37 75DB  CA2E A8D9 94D1 221A A045

Encrypt to it if you can. Compare it with SECURITY.md on GitHub first: whoever took this domain could show a key of their own here.