1
0
mirror of https://github.com/moepman/acertmgr.git synced 2024-12-29 09:21:51 +01:00

Fix error message wording

This commit is contained in:
Markus 2016-04-11 22:00:23 +02:00
parent 62a6084905
commit 77d3d1caf2

View File

@ -145,7 +145,7 @@ def cert_put(domain, settings):
src_fd.close()
if fmt == "ca":
if not os.path.isfile(ca_file):
raise FileNotFoundError("The server key file (%s) is missing!" % ca_file)
raise FileNotFoundError("The CA certificate file (%s) is missing!" % ca_file)
src_fd = open(ca_file, "r")
crt_fd.write(src_fd.read())
src_fd.close()