mirror of
https://git.freebsd.org/ports.git
synced 2025-06-04 12:26:27 -04:00
certmgr is a tool for managing certificates using CFSSL. It does the following: - Ensures certificates are present. - Renews certificates before they expire. - Triggering a service reload or restart on certificate updates. It operates on certificate specs, which are JSON files containing the information needed to generate a certificate. WWW: https://github.com/cloudflare/certmgr PR: 256992
15 lines
501 B
Go
15 lines
501 B
Go
--- certmgr/cmd/genconfig.go.orig 2021-07-04 20:59:28 UTC
|
|
+++ certmgr/cmd/genconfig.go
|
|
@@ -15,9 +15,9 @@ import (
|
|
var force bool
|
|
|
|
const (
|
|
- defaultConfigFile = "/etc/certmgr/certmgr.yaml"
|
|
- defaultDir = "/etc/certmgr.d"
|
|
- defaultServiceManager = "systemd"
|
|
+ defaultConfigFile = "%%ETCDIR%%/certmgr.yaml"
|
|
+ defaultDir = "%%ETCDIR%%.d"
|
|
+ defaultServiceManager = "sysv"
|
|
defaultBefore = "72h"
|
|
defaultInterval = "1h"
|
|
defaultMetricsAddr = "localhost"
|