Skip to content

Commit fc82b79

Browse files
committed
Update revocation tests for outdated certs
1 parent dc260ea commit fc82b79

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed
1.33 KB
Binary file not shown.
173 Bytes
Binary file not shown.

tests/test_validate.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def test_revocation_mode_soft(self):
5656
cert = self._load_cert_object('global-root-ca-revoked.chain-demos.digicert.com.crt')
5757
ca_certs = [self._load_cert_object('digicert-global-root-ca.crt')]
5858
other_certs = [
59-
self._load_cert_object('digicert-sha2-secure-server-ca.crt'),
59+
self._load_cert_object('geotrust-mixed-2020-ca-1.crt'),
6060
]
6161

6262
try:
@@ -91,7 +91,7 @@ def test_revocation_mode_hard(self):
9191
cert = self._load_cert_object('global-root-ca-revoked.chain-demos.digicert.com.crt')
9292
ca_certs = [self._load_cert_object('digicert-global-root-ca.crt')]
9393
other_certs = [
94-
self._load_cert_object('digicert-sha2-secure-server-ca.crt'),
94+
self._load_cert_object('geotrust-mixed-2020-ca-1.crt'),
9595
]
9696

9797
context = ValidationContext(
@@ -109,7 +109,7 @@ def test_revocation_mode_hard(self):
109109

110110
expected = (
111111
'(CRL|OCSP response) indicates the end-entity certificate was '
112-
'revoked at 23:32:01 on 2020-01-14, due to an unspecified reason'
112+
'revoked at 00:03:34 on 2020-07-23, due to an unspecified reason'
113113
)
114114
with self.assertRaisesRegex(RevokedError, expected):
115115
validate_path(context, path)

0 commit comments

Comments
 (0)