osslsigncode 2.15, using: OpenSSL 4.0.3 29 Sep 2026 (Library: OpenSSL 4.0.3 29 Sep 2026) Default -CAfile location: /etc/ssl/certs/ca-certificates.crt Please send bug-reports to Michal.Trojnara@stunnel.org osslsigncode is a small tool that implements part of the functionality of the Microsoft tool signtool.exe - more exactly the Authenticode signing and timestamping. It can sign and timestamp PE (EXE/SYS/DLL/etc), CAB, CAT, MSI and APPX files, as well as script files with extensions .ps1, .ps1xml, .psc1, .psd1, .psm1, .cdxml, .mof and .js, supports getting the timestamp through a proxy as well. osslsigncode also supports signature verification, removal and extraction. --version | -v = print osslsigncode version and usage --help = print osslsigncode help menu Commands: add = add an unauthenticated blob or a timestamp to a previously-signed file attach-signature = sign file using a given signature extract-signature = extract signature from a previously-signed file extract-data = extract a data content to be signed remove-signature = remove sections of the embedded signature on a file sign = digitally sign a file verify = verifies the digital signature of a file For help on a specific command, enter /usr/bin/osslsigncode --help Usage: /usr/bin/osslsigncode [ --version | -v ] [ --help ] [ sign ] -pkcs12 | ( [ -certs | -spc ] ( -key [ -pkcs11module ] [ -pkcs11cert ] ) [ -provider | [ -nolegacy ] [ -pass [ -askpass ] [ -readpass ] (use "-" with readpass to read from stdin) [ -ac ] [ -h {md5,sha1,sha2(56),sha384,sha512} ] [ -n ] [ -i ] [ -jp ] [ -comm ] [ -ph ] [ -t [ -t ... ] [ -p ] [ -noverifypeer ] [ -ts [ -ts ... ] [ -p ] [ -noverifypeer ] ] [ -TSA-certs ] [ -TSA-key ] [ -TSA-time ] [ -HTTPS-CAfile ] [ -HTTPS-CRLfile ] [ -time ] [ -addUnauthenticatedBlob [ -blobFile ] ] [ -nest ] [ -verbose ] [ -add-msi-dse ] [ -pem ] [ -in ] [-out ] extract-data [ -pem ] [ -h {md5,sha1,sha2(56),sha384,sha512} ] [ -ph ] [ -add-msi-dse ] [ -in ] [ -out ] add [ -addUnauthenticatedBlob [ -blobFile ] ] [ -t [ -t ... ] [ -p ] [ -noverifypeer ] [ -ts [ -ts ... ] [ -p ] [ -noverifypeer ] ] [ -TSA-certs ] [ -TSA-key ] [ -TSA-time ] [ -HTTPS-CAfile ] [ -HTTPS-CRLfile ] [ -h {md5,sha1,sha2(56),sha384,sha512} ] [ -index ] [ -verbose ] [ -add-msi-dse ] [ -in ] [ -out ] attach-signature [ -sigin ] [ -h {md5,sha1,sha2(56),sha384,sha512} ] [ -nest ] [ -add-msi-dse ] [ -in ] [ -out ] extract-signature [ -pem ] [ -in ] [ -out ] remove-signature [ -in ] [ -out ] verify [ -in ] [ -c | -catalog ] [ -CAfile ] [ -CRLfile ] [ -HTTPS-CAfile ] [ -HTTPS-CRLfile ] [ -TSA-CAfile ] [ -TSA-CRLfile ] [ -p ] [ -index ] [ -ignore-timestamp ] [ -ignore-cdp ] [ -ignore-crl ] [ -time ] [ -require-leaf-hash {md5,sha1,sha2(56),sha384,sha512}:XXXXXXXXXXXX... ] [ -verbose ]