|
|
@ -83,7 +83,7 @@ func (s *Settings) UnmarshalYAML(n *yaml.Node) error {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if data.ValidityYears.Root < data.ValidityYears.Intermediary {
|
|
|
|
if data.ValidityYears.Root < data.ValidityYears.Intermediary {
|
|
|
|
return SettingsError{"validity of root CA certificates must be equal or greater than those if" +
|
|
|
|
return SettingsError{"validity of root CA certificates must be equal or greater than those of" +
|
|
|
|
" intermediary CA certificates"}
|
|
|
|
" intermediary CA certificates"}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|