Changes to allow us to specify the hostname we want to use for cert creation,
[certmaster.git] / certmaster / requester.py
index a67bee6..04f1f8a 100644 (file)
@@ -15,8 +15,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 import utils
 
-def request_cert():
+def request_cert(hostname=None):
    # this should be enough, but do we want to allow parameters
    # for overriding the server and port from the config file?
    # maybe not. -- mpd
-   utils.create_minion_keys()
+   utils.create_minion_keys(hostname)