Soumitra Sulav created HDDS-8412:
------------------------------------
Summary: [pki] Error Log values for certificate duration are
switched
Key: HDDS-8412
URL: https://issues.apache.org/jira/browse/HDDS-8412
Project: Apache Ozone
Issue Type: Bug
Components: SCM
Affects Versions: 1.4.0
Reporter: Soumitra Sulav
On setting invalid values in the config, SCM fails to start as expected with
below error message but the duration values are mixed across max and default
durations.
>>> message = "2023-04-13 06:59:04,643 ERROR
>>> org.apache.hadoop.hdds.security.x509.SecurityConfig: Certificate duration
>>> PT120H should not be greater than Maximum Certificate duration PT240H"
Values set
'hdds.x509.max.duration': 'P5D' ~ PT120H
'hdds.x509.default.duration': 'P10D' ~ PT240H
'hdds.x509.renew.grace.duration': 'P5D' ~ PT120H
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]