I's easy if you know how to do it. Under Windows, you need signtool.exe from Microsoft.
This will sign with a timestamp
signtool.exe sign /as /v /fd SHA512 /f "$cert" /p "$certpwd" /tr "http://timestamp.sectigo.com" /td SHA512 "myexefile.exe"
I's easy if you know how to do it. Under Windows, you need signtool.exe from Microsoft.
This will sign with a timestamp
signtool.exe sign /as /v /fd SHA512 /f "$cert" /p "$certpwd" /tr "http://timestamp.sectigo.com" /td SHA512 "myexefile.exe"