Hello Everyone,
I have a code signed certificate for all my PowerShell scripts when I try and run any of my PowerShell scripts I get
Do you want to run software from this untrusted publisher?
File .\outlook_sig_alpha.ps1 is published by CN="Joseph, John",
OU=XXXX, OU=XXX, DC=XXXX, DC=XXXX and is not trusted on your system. Only run scripts
from trusted publishers.
[V] Never run
Do
not run [R] Run once
Always run [?] Help (default is "D"):
When I run Get-AuthenticodeSignature on the file I get:
PS C:\Users\josephj\Desktop> Get-AuthenticodeSignature .\outlook_sig.ps1 | format-list
SignerCertificate : [Subject]
CN="Joseph, John", OU=Information Systems, OU=xxxx, DC=xxxx, DC=xxxx
[Issuer]
CN=ServerName-CA, DC=Domain, DC=Name
[Serial Number]
108EB4280001000003CE
[Not Before]
12/15/2014 11:00:12 AM
[Not After]
12/15/2015 11:00:12 AM
[Thumbprint]
D73767D0AE21F235C3C4E579AE2EB31A3C5AB027
TimeStamperCertificate : [Subject]
CN=GlobalSign TSA for MS Authenticode - G2, O=GMO GlobalSign Pte Ltd, C=SG
[Issuer]
CN=GlobalSign Timestamping CA - G2, O=GlobalSign nv-sa, C=BE
[Serial Number]
112106A081D33FD87AE5824CC16B52094E03
[Not Before]
2/2/2015 7:00:00 PM
[Not After]
3/2/2026 7:00:00 PM
[Thumbprint]
B36308B4D4CDED4FCFBD66B955FAE3BFB12C29E6
Status : Valid
StatusMessage : Signature verified.
Path : C:\outlook_sig.ps1
I checked and verified that the certificate is installed on the local computer account and the Certificate is listed under Trusted Publisher.
PS C:\> Get-ExecutionPolicy
AllSigned
Any help would be appreciated.
Normal 0 false false false EN-US X-NONE X-NONE