UEFISIGN(8)

πŸ“¦
version 15.1 Β· 2 versions
, in freebsd 15.1

πŸ’… UEFISIGN(8) β€” like, the UEFI Secure Boot signing utility bestie ✨

okay so this is the uefisign page from the System Manager's Manual and honestly? she's iconic. buckle up πŸŽ€


🌸 NAME 🌸

uefisign β€” the UEFI Secure Boot signing utility. yes that's her whole job and she ate πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

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

two whole modes, two whole vibes, pick your fighter ✨


πŸ‘‘ DESCRIPTION πŸ‘‘

okay so listen. the uefisign utility signs PE binary files using the Authenticode scheme β€” which is literally what the UEFI Secure Boot specification requires, no cap. so if you need your binary to pass the vibe check at boot time, this is the girl for the job πŸ”₯

alternatively (and this is lowkey the fun part), you can use it to view and verify existing signatures. like reading someone's aura but for cryptography 🧚

these options are available:

  • -V β€” figure out whether the file is signed at all. but bestie, read the fine print: this does not verify the correctness of the signature. it only checks that the file contains a signature. it's giving "yeah there's a signature in there somewhere" energy, not "this signature is valid" energy πŸ’€
  • -k β€” name of the file containing the private key used to sign the binary πŸ”‘
  • -c β€” name of the file containing the certificate used to sign the binary πŸŽ€
  • -o β€” name of the file to write the signed binary to πŸ“
  • -v β€” be verbose. she talks more. we love a chatty queen πŸ—£οΈ

⭐ EXIT STATUS ⭐

the uefisign utility exits 0 on success, and >0 if an error occurs. simple, clean, no drama 🫢


🌈 EXAMPLES 🌈

generate a 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

step one: make the keys. step two: sign the thing. step three: main character energy πŸ‘‘

view signature

uefisign -Vv binary

the -V and the -v holding hands in one flag cluster, we love to see it πŸ₯°


πŸ’œ SEE ALSO πŸ’œ

openssl(1), loader(8), uefi(8) β€” go read those too, iykyk πŸ“š


πŸ“ HISTORY πŸ“

the uefisign command appeared in FreeBSD 10.2. a legend was born ✨


🧚 AUTHORS 🧚

the uefisign utility was developed by Edward Tomasz Napierala <trasz@FreeBSD.org> under sponsorship from the FreeBSD Foundation. thank you for your service king πŸ«‘πŸ’–


aaaaand that's the page!! this came to you from the Debian corner of the manual-verse, dated July 11, 2015 β€” she's a UEFISIGN(8) girlie through and through, mwah πŸ’‹πŸŽ€

πŸ“¦ where this page comes from
  • freebsd 15.1: base 15.1
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms