jsign

Sign Windows executables, installers and scripts with digital certificates

brewmacoslinux
Try with needOr install directly
Source

About

Tool for signing Windows executable files, installers and scripts

Commands

jsign

Examples

Sign an executable file with a certificate and password$ jsign --keystore certificate.pfx --storepass mypassword --tsaurl http://timestamp.server application.exe
Sign a Windows installer with timestamp authority$ jsign --keystore cert.p12 --storepass pass --alias mycert --tsaurl http://time.certum.pl installer.msi
Sign a PowerShell script with certificate details$ jsign --keystore keystore.jks --storepass storepass --alias signing-key --certfile cert.crt script.ps1