Bird
0
0

A script signed with a valid certificate shows 'NotTrusted' status when checked. What could be the problem?

medium📝 Debug Q7 of 15
PowerShell - Scripting Best Practices
A script signed with a valid certificate shows 'NotTrusted' status when checked. What could be the problem?
AThe signature algorithm is outdated
BThe script file is corrupted
CThe script was signed with a revoked certificate
DThe certificate chain is not trusted on the local machine
Step-by-Step Solution
Solution:
  1. Step 1: Understand 'NotTrusted' status meaning

    This status means the certificate chain is not trusted by the system.
  2. Step 2: Evaluate other options

    Corruption or outdated algorithms usually cause different errors; revoked certificates show 'Revoked' status.
  3. Final Answer:

    The certificate chain is not trusted on the local machine -> Option D
  4. Quick Check:

    'NotTrusted' means untrusted certificate chain [OK]
Quick Trick: Check certificate trust chain for 'NotTrusted' status [OK]
Common Mistakes:
  • Assuming file corruption causes 'NotTrusted'
  • Confusing revoked with not trusted
  • Ignoring trust chain issues

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More PowerShell Quizzes