MCPcopy
hub / github.com/caddyserver/caddy / renewCerts

Method renewCerts

modules/caddypki/maintain.go:51–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51func (p *PKI) renewCerts() {
52 for _, ca := range p.CAs {
53 err := p.renewCertsForCA(ca)
54 if err != nil {
55 p.log.Error("renewing intermediate certificates",
56 zap.Error(err),
57 zap.String("ca", ca.ID))
58 }
59 }
60}
61
62func (p *PKI) renewCertsForCA(ca *CA) error {
63 ca.mu.Lock()

Callers 1

StartMethod · 0.95

Calls 3

renewCertsForCAMethod · 0.95
ErrorMethod · 0.45
StringMethod · 0.45

Tested by

no test coverage detected