commit
b4fcbd79d8
2 changed files with 2 additions and 2 deletions
|
|
@ -243,7 +243,7 @@ class CertBundle(BaseModel):
|
||||||
'KeyAlgorithm': key_algo,
|
'KeyAlgorithm': key_algo,
|
||||||
'NotAfter': datetime_to_epoch(self._cert.not_valid_after),
|
'NotAfter': datetime_to_epoch(self._cert.not_valid_after),
|
||||||
'NotBefore': datetime_to_epoch(self._cert.not_valid_before),
|
'NotBefore': datetime_to_epoch(self._cert.not_valid_before),
|
||||||
'Serial': self._cert.serial,
|
'Serial': self._cert.serial_number,
|
||||||
'SignatureAlgorithm': self._cert.signature_algorithm_oid._name.upper().replace('ENCRYPTION', ''),
|
'SignatureAlgorithm': self._cert.signature_algorithm_oid._name.upper().replace('ENCRYPTION', ''),
|
||||||
'Status': self.status, # One of PENDING_VALIDATION, ISSUED, INACTIVE, EXPIRED, VALIDATION_TIMED_OUT, REVOKED, FAILED.
|
'Status': self.status, # One of PENDING_VALIDATION, ISSUED, INACTIVE, EXPIRED, VALIDATION_TIMED_OUT, REVOKED, FAILED.
|
||||||
'Subject': 'CN={0}'.format(self.common_name),
|
'Subject': 'CN={0}'.format(self.common_name),
|
||||||
|
|
|
||||||
2
setup.py
2
setup.py
|
|
@ -37,7 +37,7 @@ install_requires = [
|
||||||
"jsondiff==1.1.2",
|
"jsondiff==1.1.2",
|
||||||
"aws-xray-sdk!=0.96,>=0.93",
|
"aws-xray-sdk!=0.96,>=0.93",
|
||||||
"responses>=0.9.0",
|
"responses>=0.9.0",
|
||||||
"idna<2.8,>=2.5",
|
"idna<2.9,>=2.5",
|
||||||
"cfn-lint",
|
"cfn-lint",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue