Add ignore_timestamps option. (#317)

This commit is contained in:
Felix Fontein
2021-10-30 16:34:27 +02:00
committed by GitHub
parent eb8dabce84
commit 4ab2ed8b77
5 changed files with 36 additions and 2 deletions

View File

@@ -169,7 +169,7 @@ class OwnCACertificateBackendCryptography(CertificateBackend):
return self.cert.public_bytes(Encoding.PEM)
def needs_regeneration(self):
if super(OwnCACertificateBackendCryptography, self).needs_regeneration():
if super(OwnCACertificateBackendCryptography, self).needs_regeneration(not_before=self.notBefore, not_after=self.notAfter):
return True
# Check AuthorityKeyIdentifier