returnc.Err("max_certs must be a positive integer")
returnc.Err("max_certs must be a positive integer")
}
}
ifonDemandMaxIssue==0||int32(maxCertsNum)<onDemandMaxIssue{// keep the minimum; TODO: We have to do this because it is global; should be per-server or per-vhost...
config.OnDemandState.MaxObtain=int32(maxCertsNum)
onDemandMaxIssue=int32(maxCertsNum)
}
}
}
// don't try to load certificates unless we're supposed to
// don't try to load certificates unless we're supposed to