summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2008-02-25 17:03:10 -0500
committerMichael DeHaan <mdehaan@redhat.com>2008-02-25 17:03:10 -0500
commit956aa6739978bea3c56f532d3dab15f075c46aa2 (patch)
treecbfb519635642028ffa4a2f19fd29ccea58835ad
parent2108f87ee704ac86f5a6b924c03afc86e0fa617d (diff)
downloadcertmaster-956aa6739978bea3c56f532d3dab15f075c46aa2.zip
certmaster-956aa6739978bea3c56f532d3dab15f075c46aa2.tar.gz
certmaster-956aa6739978bea3c56f532d3dab15f075c46aa2.tar.xz
Add missing file
-rw-r--r--certmaster/requester.py22
1 files changed, 22 insertions, 0 deletions
diff --git a/certmaster/requester.py b/certmaster/requester.py
new file mode 100644
index 0000000..a67bee6
--- /dev/null
+++ b/certmaster/requester.py
@@ -0,0 +1,22 @@
+"""
+certmaster requester -- asks for certs
+any python app that wants to use certmaster can use this module
+
+Copyright 2008, Red Hat, Inc
+Michael DeHaan <mdehaan@redhat.com>
+
+This software may be freely redistributed under the terms of the GNU
+general public license.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+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()