We got a code signing certificate from entrust specifically for signing powershell scripts. I’m not having any problem signing the scripts at all. The issue we are having is any time we try to run one of the signed scripts on any PC that’s security is set to ‘AllSigned’ we get the following warning Message:
Do you want to run software from this untrusted publisher?
File J:\Signing.ps1 is published by CN=OurCompany, O=OurCompany, L=OurTown S=OurState, C=US and is not trusted on your system. Only run scripts
from trusted publishers.
[V] Never run [D] Do not run [R] Run once [A] Always run [?] Help (default is “D”):
Sure you can choose ‘[A] Always run’ and it will install the public key for the cert into the users store but that was the whole purpose of getting a code signing cert from a CA rather than just using a self signed cert. Any idea whats going on here?