only grab CRL extensions from CRL directory
This commit is contained in:
parent
21c724314f
commit
f3f1dee7cf
@ -144,7 +144,7 @@ def make_redis(config):
|
|||||||
|
|
||||||
def make_crl_validator(app):
|
def make_crl_validator(app):
|
||||||
crl_locations = []
|
crl_locations = []
|
||||||
for filename in pathlib.Path(app.config["CRL_DIRECTORY"]).glob("*"):
|
for filename in pathlib.Path(app.config["CRL_DIRECTORY"]).glob("*.crl"):
|
||||||
crl_locations.append(filename.absolute())
|
crl_locations.append(filename.absolute())
|
||||||
app.crl_cache = CRLCache(app.config["CA_CHAIN"], crl_locations, logger=app.logger)
|
app.crl_cache = CRLCache(app.config["CA_CHAIN"], crl_locations, logger=app.logger)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user