+ parser = optparse.OptionParser()
+
+ parser.add_option('--hostname', action="store", dest="hostname",
+ metavar="NAME",
+ help='hostname to use as the CN for the certificate')
+
+ parser.add_option('--ca', action="store", dest="ca", default='',
+ metavar="CA",
+ help='certificate authority used to sign the certificate')
+
+ (opts, args) = parser.parse_args()
+
+ requester.request_cert(hostname=opts.hostname, ca=opts.ca)