def main(args=None):
if args is None:<EOL><INDENT>args = sys.argv[<NUM_LIT:1>:]<EOL><DEDENT>o = Options()<EOL>try:<EOL><INDENT>o.parseOptions(args)<EOL><DEDENT>except usage.UsageError as e:<EOL><INDENT>raise SystemExit(str(e))<EOL><DEDENT>else:<EOL><INDENT>return createSSLCertificate(o)<EOL><DEDENT>
Create a private key and a certificate and write them to a file.