summaryrefslogtreecommitdiff
path: root/src/op_mode/pki.py
diff options
context:
space:
mode:
authorsarthurdev <965089+sarthurdev@users.noreply.github.com>2021-08-13 18:33:21 +0200
committersarthurdev <965089+sarthurdev@users.noreply.github.com>2021-08-13 18:33:21 +0200
commit87be4e407a499c884898f753678ef9eb874e0d5d (patch)
tree190cbf0612e9160bfeb0da8803aa0302177ec1da /src/op_mode/pki.py
parent326cab3da592ee5255ed1f66025a91ac6892d429 (diff)
downloadvyos-1x-87be4e407a499c884898f753678ef9eb874e0d5d.tar.gz
vyos-1x-87be4e407a499c884898f753678ef9eb874e0d5d.zip
pki: T3752: Fix file output for certificate requests
Diffstat (limited to 'src/op_mode/pki.py')
-rwxr-xr-xsrc/op_mode/pki.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/pki.py b/src/op_mode/pki.py
index 297270cf1..b34ea3c2b 100755
--- a/src/op_mode/pki.py
+++ b/src/op_mode/pki.py
@@ -813,7 +813,7 @@ if __name__ == '__main__':
elif args.self_sign:
generate_certificate_selfsign(args.certificate, install=args.install, file=args.file)
else:
- generate_certificate_request(name=args.certificate, install=args.install)
+ generate_certificate_request(name=args.certificate, install=args.install, file=args.file)
elif args.crl:
generate_certificate_revocation_list(args.crl, install=args.install, file=args.file)
elif args.ssh: