Can't Succesfully Sign Program

A

Anston06

I have tried and tried signing a program with multiple methods. It says "A certificate chain processed, but terminated in a root certificate which is not trusted by the trust provider." I tried making the certificate with powershell and SelfCert.exe. When using Signtool I tried with different websites. When someone else download the program it says "Windows protected from running." or whatever. I dont know what to do.


Command in Powershell I tried to make certificate: New-SelfSignedCertificate -Type Custom -Subject "CN=A & C Laboratories, O=A & C Software, C=US" -KeyUsage DigitalSignature -FriendlyName "A & C Laboratories" -CertStoreLocation "Cert:\CurrentUser\My" -TextExtension @("2.5.29.37={text}1.3.6.1.5.5.7.3.3", "2.5.29.19={text}")


First Signtool command: SignTool sign /a agree.ts.web.servlet.TSGWAgree@23801b75 /td SHA256 test.exe


Second Signtool command: SignTool sign /fd /a XML Encryption Syntax and Processing SHA256 test.exe

Continue reading...
 
Back
Top Bottom