You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you to keytos for providing a base for me to create this action.
Code sign a file
This action signs files that are supported by signtool.exe with a code signing certificate that takes in a password.
This action only works on Windows and that means it should run on windows-latest.
If openssl is installed on the OS, this action also prints the certificate expiration date to the runner log.
Note
certutil is not used, since it only prints certificate information in a localized format.
Inputs
certificate
Required The base64 encoded certificate.
to get the base 64 encoded certificate of the PFX file, run the following in powershell:
Required Certificate Password. Used to add to the machine store.
certificatesha1
Required SHA1 hash for the certificate. You can obtain this from Microsoft Management Console after double clicking on your certificate (called Thumbprint). This and/or the certificatename is required for the signing to be successful.
certificatename
Required The name of the certificate. This and/or the certificatesha1 is required for the signing to be successful.
folder
Required The folder that contains the libraries to sign.