Remove srl file
This commit is contained in:
parent
d504cdf501
commit
cdd0f9cda3
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class CryptConnectionManager:
|
||||||
def removeCerts(self):
|
def removeCerts(self):
|
||||||
if config.keep_ssl_cert:
|
if config.keep_ssl_cert:
|
||||||
return False
|
return False
|
||||||
for file_name in ["cert-rsa.pem", "key-rsa.pem", "cacert-rsa.pem", "cakey-rsa.pem", "cert-rsa.csr"]:
|
for file_name in ["cert-rsa.pem", "key-rsa.pem", "cacert-rsa.pem", "cakey-rsa.pem", "cacert-rsa.srl", "cert-rsa.csr"]:
|
||||||
file_path = "%s/%s" % (config.data_dir, file_name)
|
file_path = "%s/%s" % (config.data_dir, file_name)
|
||||||
if os.path.isfile(file_path):
|
if os.path.isfile(file_path):
|
||||||
os.unlink(file_path)
|
os.unlink(file_path)
|
||||||
|
|
Loading…
Reference in a new issue