Revize dd91fb7a
Přidáno uživatelem Jan Pašek před téměř 4 roky(ů)
src/services/cryptography.py | ||
---|---|---|
368 | 368 |
:param index_file_path: path to a file that contains the openssl index with all revoked certificates |
369 | 369 |
:return: CRL encoded in PEM format string |
370 | 370 |
""" |
371 |
# openssl ca requires the .srl file to exists, therefore a dummy, unused file is created |
|
371 | 372 |
with TemporaryFile("serial.srl", "0") as serial_file, \ |
372 | 373 |
TemporaryFile("crl.conf", CRL_CONFIG % (index_file_path, serial_file)) as config_file, \ |
373 | 374 |
TemporaryFile("certificate.pem", cert.pem_data) as cert_file, \ |
Také k dispozici: Unified diff
Re #8576 - openssl config template update, comment added