(Not working yet, but the changeset was getting too big: The service starts, but...
[certmaster.git] / certmaster / requester.py
index a67bee6..9a0e94f 100644 (file)
@@ -15,8 +15,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
 import utils
 
-def request_cert():
-   # 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()
+def request_cert(hostname=None, ca=''):
+    # 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(hostname,ca)