🟣export

Export an X.509 certificate. Reads a certificate from one of the PIV slots on the YubiKey.

ykman piv certificates export OPTIONS SLOT CERTIFICATE

Options
Description

-h, --help

Show this message and exit.

-F, --format [PEM|DER]

Encoding format. [default: PEM]

Arguments
Description

SLOT

PIV slot of the certificate.

CERTIFICATE

File to write certificate to. Use '-' to use stdout.

HELP

Usage: ykman.exe piv certificates export [OPTIONS] SLOT CERTIFICATE

  Export an X.509 certificate.

  Reads a certificate from one of the PIV slots on the YubiKey.

  SLOT            PIV slot of the certificate.
  CERTIFICATE     File to write certificate to. Use '-' to use stdout.

Options:
  -F, --format [PEM|DER]  Encoding format.  [default: PEM]
  -h, --help              Show this message and exit.

EXAMPLE

Last updated