uefisign(8)

uefisign8

Uefi secure boot signing utility

Usage

uefisign -k key -c certificate -o output [-v] file

uefisign -V [-v] file

Overview

The uefisign utility signs PE binary files using Authenticode scheme, as required by UEFI Secure Boot specification. Alternatively, it can be used to view and verify existing signatures. These options are available:

-V

Determine whether the file is signed. Note that this does not verify the correctness of the signature; only that the file contains a signature.

-k

Name of file containing the private key used to sign the binary.

-c

Name of file containing the certificate used to sign the binary.

-o

Name of file to write the signed binary to.

-v

Be verbose.

Exit status

The uefisign utility exits 0 on success, and >0 if an error occurs.

Examples

Generate self-signed certificate and use it to sign a binary:

/usr/share/examples/uefisign/uefikeys testcert
uefisign -c testcert.pem -k testcert.key -o signed-binary binary

View signature:

uefisign -Vv binary

Releases

28 releases since FreeBSD 10.2-RELEASE; the text changed 15 times.

  1. 10.2
  2. 10.3
  3. 10.4
  4. 11.0
  5. 11.1
  6. 11.2
  7. 11.3
  8. 11.4
  9. 12.0
  10. 12.1
  11. 12.2
  12. 12.3
  13. 12.4
  14. 13.0–13.2
  15. 13.3–14.5
  16. 15.0–16.0

History

The uefisign command appeared in FreeBSD 10.2.

Authors

The uefisign utility was developed by Edward Tomasz Napierala ⟨[email protected]⟩ under sponsorship from the FreeBSD Foundation.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.