X-Git-Url: https://pwan.org/git/?p=certmaster.git;a=blobdiff_plain;f=certmaster%2Futils.py;h=02c28e08eeba722e81ff3e753eef4307756accde;hp=968d6978ed9f074a3a3f5bf72867972b35f6294b;hb=c6ee5a51e5bb21e578000855ebecc0620d069c7f;hpb=42050df52ff80295e1cf64e6ba36b793b09412cf diff --git a/certmaster/utils.py b/certmaster/utils.py index 968d697..02c28e0 100644 --- a/certmaster/utils.py +++ b/certmaster/utils.py @@ -139,7 +139,7 @@ def create_minion_keys(hostname=None): raise codes.CMException("Could not determine a hostname other than localhost") else: # use lowercase letters for hostnames - hostname = hostname.lower() + hn = hn.lower() key_file = '%s/%s.pem' % (cert_dir, hn) csr_file = '%s/%s.csr' % (cert_dir, hn)