Click here to Skip to main content
15,880,608 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Problem "How to":
Hi evryone! Question is how to trust a WPF application. To show e.g. on my app in .exe format, press right click on the mouse and select "Run as Administrator", and on Publisher show a "Unknown". I am wanted to switch Unknown to my publisher name e.g. "UKI COMPUTERS". How to this work?


What I have tried:

I'am tried a steps from this link. And not working certificate to trust.
Posted
Updated 6-May-21 8:09am

1 solution

You need an authenticode certificate which you can buy.
Then use the Windows Signtool.exe to sign your executable.
More information here: Basics of Signing and Verifying code[^]

Although some articles may lead you to believe that everything should be strong signed, this is not necessary and can even cause problems when using other certificates or 3rd-party dll's.

Signtool can sometimes be hard to find, with every Windows version the location seems to change.
On my Windows 10 PC it is located in:
C:\Program Files (x86)\Windows Kits\10\App Certification Kit\signtool.exe
 
Share this answer
 
v2
Comments
[no name] 7-May-21 5:31am    
RickZeeland, thank you very match!!!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900