mirror of
https://github.com/laurivosandi/certidude
synced 2024-12-22 08:15:18 +00:00
tests: More checks for CRL validation
This commit is contained in:
parent
26876ed972
commit
9668fa549b
@ -71,6 +71,7 @@ def certidude_request_certificate(server, system_keytab_required, key_path, requ
|
||||
|
||||
# Fetch certificate revocation list
|
||||
r = requests.get(revoked_url, headers={'accept': 'application/x-pem-file'}, stream=True)
|
||||
assert r.status_code == 200, "Failed to fetch CRL from %s, got %s" % (revoked_url, r.text)
|
||||
click.echo("Fetching CRL from %s to %s" % (revoked_url, revocations_path))
|
||||
revocations_partial = tempfile.mktemp(prefix=revocations_path + ".part")
|
||||
with open(revocations_partial, 'wb') as f:
|
||||
|
Loading…
Reference in New Issue
Block a user