mirror of
https://github.com/moepman/acertmgr.git
synced 2025-01-01 04:21:51 +01:00
Fix error message wording
This commit is contained in:
parent
62a6084905
commit
77d3d1caf2
@ -145,7 +145,7 @@ def cert_put(domain, settings):
|
|||||||
src_fd.close()
|
src_fd.close()
|
||||||
if fmt == "ca":
|
if fmt == "ca":
|
||||||
if not os.path.isfile(ca_file):
|
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")
|
src_fd = open(ca_file, "r")
|
||||||
crt_fd.write(src_fd.read())
|
crt_fd.write(src_fd.read())
|
||||||
src_fd.close()
|
src_fd.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user