digicert expects also seconds, though not yet honoring it

This commit is contained in:
Hossein Shafagh 2020-10-22 16:01:09 -07:00
parent c60645bec4
commit 8fa90a2ce5

View File

@ -177,7 +177,7 @@ def map_cis_fields(options, csr):
"csr": csr,
"signature_hash": signature_hash(options.get("signing_algorithm")),
"validity": {
"valid_to": validity_end.format("YYYY-MM-DDTHH:MM") + "Z"
"valid_to": validity_end.format("YYYY-MM-DDTHH:MM:SS") + "Z"
},
"organization": {
"name": options["organization"],