Powershell and remote signing

ad-certificate-servicescertificate-authoritypowershellssl-certificate

I've created a power shell script to run on start-up but its not working. I've never run a script through group policy so i don't know what the restrictions/best practices are. I've been told i need to sign the script. After some reading i think i need to:

  1. How to create a certificate
  2. How to issue the certificate to each the clients on our Windows domain
  3. Sign the certificate

I've found the instructions about creating a code signing (link below ) but the address "https://server/certsrv" does not work, any ideas why? I'm looking on the windows 2008 SBS domain controller which has the certificate authority.

http://www.mikepfeiffer.net/2010/02/obtaining-a-code-signing-certificate-and-signing-powershell-scripts/

Best Answer

Check out Scott's PowerShell scripting signing howto here:

http://www.hanselman.com/blog/SigningPowerShellScripts.aspx