Commit 1fec835c authored by Vincent Pelletier's avatar Vincent Pelletier

cli.rerequest: Fix --template .

parent 45baf54f
......@@ -825,7 +825,7 @@ def rerequest(argv=None):
)
args = parser.parse_args(argv)
template = utils.load_certificate_request(
utils.getCertRequest(args.template),
utils.getCertRequest(args.template.name),
)
key = utils.generatePrivateKey(key_len=args.key_len)
csr_pem = utils.dump_certificate_request(
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment