X-Git-Url: https://pwan.org/git/?p=certmaster.git;a=blobdiff_plain;f=scripts%2Fcertmaster-ca;h=75bfad3965f79bdf408de9a883ac1b6c6c205ffc;hp=d10c1a24e839e297f544fcf8105d389d5e8b8947;hb=240ba9b7e2ee00a8f6014c7d597a5afd1f96249c;hpb=67070b83b2873cd26228d5002989cae73ead0167 diff --git a/scripts/certmaster-ca b/scripts/certmaster-ca index d10c1a2..75bfad3 100755 --- a/scripts/certmaster-ca +++ b/scripts/certmaster-ca @@ -1,8 +1,9 @@ #!/usr/bin/python -tt # sign/list keys +# --ca ca sign/list certs for the 'ca' # --sign hostname hostname hostname # --list # lists all csrs needing to be signed -# --list-all ? +# --list-all ca list all certs for a given ca # --clean? not sure what it will do import sys @@ -14,20 +15,19 @@ import certmaster import certmaster.certs import certmaster.certmaster - - - def errorprint(stuff): print >> sys.stderr, stuff class CertmasterCAOptionParser(optparse.OptionParser): def get_version(self): - return file("/etc/func/version").read().strip() + return file("/etc/certmaster/version").read().strip() def parseargs(args): usage = 'certmaster-ca