Easy CA management
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
419 B

9 years ago
  1. #!/usr/bin/env python3
  2. import argparse
  3. import json
  4. def main(args):
  5. result_dict = {}
  6. result_dict['type'] = 'get_certificate'
  7. result_dict['requestID'] = args.request_id
  8. print(json.dumps(result_dict))
  9. def get_parser():
  10. parser = argparse.ArgumentParser()
  11. parser.add_argument('request_id')
  12. return parser
  13. if __name__ == '__main__':
  14. parser = get_parser()
  15. main(parser.parse_args())