forked from TrueCloudLab/certificates
Add cache duration if crl is set
This commit is contained in:
parent
221e756f40
commit
4e19aa4c52
1 changed files with 1 additions and 1 deletions
|
@ -192,7 +192,7 @@ func (c *Config) Init() {
|
||||||
if c.CommonName == "" {
|
if c.CommonName == "" {
|
||||||
c.CommonName = "Step Online CA"
|
c.CommonName = "Step Online CA"
|
||||||
}
|
}
|
||||||
if c.CRL != nil && c.CRL.Generate && c.CRL.CacheDuration == nil {
|
if c.CRL != nil && c.CRL.CacheDuration == nil {
|
||||||
c.CRL.CacheDuration = DefaultCRLCacheDuration
|
c.CRL.CacheDuration = DefaultCRLCacheDuration
|
||||||
}
|
}
|
||||||
c.AuthorityConfig.init()
|
c.AuthorityConfig.init()
|
||||||
|
|
Loading…
Reference in a new issue