Commit a86a1fbf authored by Łukasz Nowak's avatar Łukasz Nowak

Certificate file names are smallcased.

parent 519d626f
......@@ -224,7 +224,7 @@ class CertificateAuthorityTool(BaseTool):
new_id = open(self.crl, 'r').read().strip().lower()
crl_path = os.path.join(self.certificate_authority_path, 'crl')
crl = os.path.join(crl_path, new_id + '.crl')
cert = os.path.join(self.certificate_authority_path, 'certs', serial + '.crt')
cert = os.path.join(self.certificate_authority_path, 'certs', serial.lower() + '.crt')
if not os.path.exists(cert):
raise ValueError('Certificate with serial %r does not exists' % serial)
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment