sunlight

command
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2024 License: ISC Imports: 25 Imported by: 0

Documentation

Overview

Command sunlight runs a Certificate Transparency log write-path server.

A YAML config file is required (specified with -c, by default sunlight.yaml), the keys are documented in the Config type. See also example.yaml.

If the command line flag -create is passed, the command will create any logs that don't exist and exit.

If the command line flag -testcert is passed, ACME will be disabled and the certificate will be loaded from sunlight.pem and sunlight-key.pem.

Metrics are exposed publicly at /metrics, and logs are written to stderr in human-readable format, and to stdout in JSON format.

A private HTTP debug server is also started on a random port on localhost. It serves the net/http/pprof endpoints, as well as /debug/logson and /debug/logsoff which enable and disable debug logging, respectively.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL