From 9427d7b001bd9cb769fb2940cfa263a448d62b80 Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 9 Aug 2023 17:54:31 +0100 Subject: pki: T5273: add a certificate fingerprint command --- op-mode-definitions/pki.xml.in | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'op-mode-definitions/pki.xml.in') diff --git a/op-mode-definitions/pki.xml.in b/op-mode-definitions/pki.xml.in index c5abf86cd..ca0eb3687 100644 --- a/op-mode-definitions/pki.xml.in +++ b/op-mode-definitions/pki.xml.in @@ -535,6 +535,15 @@ sudo ${vyos_op_scripts_dir}/pki.py --action show --certificate "$4" --pem + + + Show x509 certificate fingerprint + + sha256 sha384 sha512 + + + sudo ${vyos_op_scripts_dir}/pki.py --action show --certificate "$4" --fingerprint "$6" + -- cgit v1.2.3