Skip to content

About

MIT-licensed TLS certificate renewal & SAML/outbound CLI for CertTide

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CertTide CLI

The customer-auditable CLI, TLS prober and on-prem probe agent for CertTide. MIT licensed; see LICENSE.

This repository is generated from the CertTide build. It is the only part of CertTide that runs in a customer environment, published so that a customer's IT can read and rebuild exactly what runs for them. Nothing here talks to a customer tenant unless you run it, and nothing here writes to CertTide unless you give it an agent token.

What is included

  • engine-go/cmd/certtide — the certtide command (probe, renewal state, SAML metadata, SAP PSE stub and the outbound agent).
  • engine-go/tlsprobe, engine-go/renewal, engine-go/assess, engine-go/saml, engine-go/agent — the scanner, prober and agent packages.
  • scripts/byoa — the MIT onboarding script that creates a certificate-only app with two read-only Microsoft Graph roles.
  • scripts/build-cli-release.mjs — the reproducible cross-build, CycloneDX 1.5 SBOM and SHA-256 checksums.

Build and test

Requires Go 1.27 or newer. There are no third-party Go modules; go.sum is intentionally empty.

cd engine-go
go test ./...
go vet ./...
go build -o bin/certtide ./cmd/certtide
go install github.com/camamacheiro/certtide-cli/engine-go/cmd/certtide@latest

Reproducible release build

node scripts/build-cli-release.mjs --out-dir dist/cli --version 0.1.0
node scripts/build-cli-release.mjs --out-dir dist/cli --verify

It cross-compiles linux/amd64, linux/arm64, darwin/amd64, darwin/arm64 and windows/amd64 with CGO_ENABLED=0, -trimpath, -buildvcs=false and a cleared build id, stamps the version through the linker, then writes certtide-cli.cdx.json (CycloneDX 1.5) and SHA256SUMS. --verify re-checks the checksums, the SBOM and a full deterministic rebuild.

The script never creates tags or GitHub Releases. Publishing is a manual, owner-approved step.

Verify a release

sha256sum -c SHA256SUMS
gpg --verify SHA256SUMS.asc SHA256SUMS
git verify-tag v0.1.0

The release key fingerprint and the exact tag are recorded in the release notes. If a checksum or signature does not match, do not run the binary: rebuild from the tag instead and compare.

Licence

MIT. See LICENSE. The CertTide hosted service is a separate, proprietary product and is not part of this repository.

About

MIT-licensed TLS certificate renewal & SAML/outbound CLI for CertTide

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages