certmaster/utils.py

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 certmaster/utils.py |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 73e598e357c28782bb3d13cfd7b62c20dbab1d9c
Author: S.Ã?aÄ?lar Onur <caglar@xxxxxxxxxxxxxxxx>
Date:   Tue Aug 10 13:59:26 2010 -0400

    Force create_minion_keys function to use all lowercase hostnames

diff --git a/certmaster/utils.py b/certmaster/utils.py
index 6f73ccc..6b79ce7 100644
--- a/certmaster/utils.py
+++ b/certmaster/utils.py
@@ -137,6 +137,9 @@ def create_minion_keys(hostname=None):
 
     if hn is None:
         raise codes.CMException("Could not determine a hostname other than localhost")
+    else:
+        # use lowercase letters for hostnames
+        hostname = hostname.lower()
 
     key_file = '%s/%s.pem' % (cert_dir, hn)
     csr_file = '%s/%s.csr' % (cert_dir, hn)


_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux