From 6dbb6c26b7873a98df6fdaf49673d56f11928a0a Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Fri, 16 May 2014 10:39:05 +0200 Subject: [PATCH] add note about just import-certificate to help texts --- README | 4 ++++ yubico-piv-tool.h2m | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/README b/README index b03cccb..aa12c5f 100644 --- a/README +++ b/README @@ -102,6 +102,10 @@ the certificate, for later import, on stdout: yubico-piv-tool -s 9a -S '/CN=bar/OU=test/O=example.com/' -P 123456 \ -a verify -a selfsign +Import a certificate from stdin: + + yubico-pin-tool -s 9a -a import-certificate + Set a random chuid, import a key and import a certificate from a PKCS12 file with password test, into slot 9c: diff --git a/yubico-piv-tool.h2m b/yubico-piv-tool.h2m index 5898c60..9bccbcb 100644 --- a/yubico-piv-tool.h2m +++ b/yubico-piv-tool.h2m @@ -50,6 +50,10 @@ the certificate, for later import, on stdout: yubico-piv-tool -s 9a -S '/CN=bar/OU=test/O=example.com/' -P 123456 \\\n -a verify -a selfsign +Import a certificate from stdin: + + yubico-piv-tool -s 9a -a import-certificate + Set a random chuid, import a key and import a certificate from a PKCS12 file with password test, into slot 9c: