I am completely new to digital signatures, and I am trying to make my .NET application safe when people run it on different computers. I created Let Encrypt myself and it works as expected on my web page. After various resources, I converted the certificate to PFX and tried to use it for digital signing, but then VS screams that "the selected certificate file is not valid for signing the code." When I launched SignTool in my EXE file, I got an error "No certificates were found that met all the criteria set", and debugging showed that my certificate did not pass the EKU filter.
Am I trying to achieve what I am trying to achieve? And if so, what am I doing wrong?
source share