ebourg / jsign

Java implementation of Microsoft Authenticode for signing Windows executables, installers & scripts
https://ebourg.github.io/jsign
Apache License 2.0
259 stars 108 forks source link

Unknown Pulisher on .EXE Signed By Jsign #127

Closed Amin-Matola closed 2 years ago

Amin-Matola commented 2 years ago

I Signed an EXE from .jks file using JSign as described at https://ebourg.github.io/jsign/ Under Example using a Java keystore: section.

The process went smooth, only that when I upload the .exe to the server and download, running it brings the same "Unknown Publisher" thing, just as before signing it, but viewing properties, it shows the Digital Signature is there.

ebourg commented 2 years ago

Is the signature valid in the digital signature tab?

Amin-Matola commented 2 years ago

Is the signature valid in the digital signature tab?

Kindly, refer to the screen below:

sg

ebourg commented 2 years ago

And what is displayed if you open the details of the signature?

Amin-Matola commented 2 years ago

And what is displayed if you open the details of the signature?

sd1

and then viewing details gives out this 👇

sd2

ebourg commented 2 years ago

Your certificate is self signed, this is not trusted by Windows. You have to get a certificate issued by a valid certification authority.

Amin-Matola commented 2 years ago

Your certificate is self signed, this is not trusted by Windows. You have to get a certificate issued by a valid certification authority.

Alright, I get it... Thanks alot dude.