--- a/ca/ca.go +++ b/ca/ca.go @@ -35,7 +35,7 @@ chains []*chain - certValidityPeriod uint + certValidityPeriod uint64 } type chain struct { @@ -347,7 +347,7 @@ return newCert, nil } -func New(log *log.Logger, db *db.MemoryStore, ocspResponderURL string, alternateRoots int, chainLength int, certificateValidityPeriod uint) *CAImpl { +func New(log *log.Logger, db *db.MemoryStore, ocspResponderURL string, alternateRoots int, chainLength int, certificateValidityPeriod uint64) *CAImpl { ca := &CAImpl{ log: log, db: db, --- a/cmd/pebble/main.go +++ b/cmd/pebble/main.go @@ -29,7 +29,7 @@ // Configure policies to deny certain domains DomainBlocklist []string - CertificateValidityPeriod uint + CertificateValidityPeriod uint64 } }