X-Git-Url: https://pwan.org/git/?p=certmaster.git;a=blobdiff_plain;f=scripts%2Fcertmaster-request;h=b40a66c5c46e572ad46a57733f497ca0c734e9ca;hp=c731fdbb5e9ad40d9b607602afffb4e9ad103e7b;hb=d6dfdb25c4e8be31d77ba8db7c3499e3f10e0c4b;hpb=9713ae6bad871bc151d378d3d837f09d6e646832 diff --git a/scripts/certmaster-request b/scripts/certmaster-request index c731fdb..b40a66c 100755 --- a/scripts/certmaster-request +++ b/scripts/certmaster-request @@ -1,12 +1,23 @@ #!/usr/bin/python +""" +Application to request a cert from a certmaster. +Takes no arguments, uses /etc/certmaster/minion.conf + +Copyright 2008, Red Hat, Inc +Michael DeHaan + +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 sys import distutils.sysconfig -print "This app is not implemented yet!" +from certmaster import requester -# from func.minion import server -# -#if __name__ == "__main__": -# server.main(sys.argv) +if __name__ == "__main__": + requester.request_cert()