Whitelist SecOps Solution Code Signing Public Certificate in a Windows System
Ashwani
Last Update il y a un an
Overview
To ensure that scripts signed with SecOps Solution Code Signing Certificate can execute without interruption, you need to whitelist the certificate on the target Windows system. This involves adding the certificate to specific certificate stores and configuring the script execution policy.
- Download the Public SecOps Code signing Certificate.
Locate your SecOps Code Signing Certificate file.
Double-click the certificate file to open the Certificate window.
Click Install Certificate.
Choose Local Machine and click Next.
Select Place all certificates in the following store, then click Browse.
Choose Trusted Root Certification Authorities and click OK.
Click Next and then Finish to complete the installation.
Double-click the certificate file again to open the Certificate window.
Click Install Certificate.
Choose Local Machine and click Next.
Select Place all certificates in the following store, then click Browse.
Choose Trusted Publishers and click OK.
Click Next and then Finish to complete the installation.
By default, PowerShell restricts script execution. To enable the execution of signed scripts:
Open PowerShell as an administrator.
Check the current execution policy:
Get-ExecutionPolicyIf it is not set to RemoteSigned, configure it by running:
Set-ExecutionPolicy RemoteSignedConfirm the change if prompted.
Notes
- Whitelisting the SecOps Code Signing Certificate ensures that the system trusts scripts and executables signed with this certificate.
- Setting the execution policy to RemoteSigned ensures that all remote scripts must be signed by a trusted publisher, enhancing security.
