Signing scripts

8 views
Skip to first unread message

SHAWN MCCLOSKEY

unread,
Jun 13, 2019, 3:41:22 PM6/13/19
to carb...@googlegroups.com

I am wondering if there are any plans to sign your scripts? I install carbon from chocolatey, and I cannot import the module because the ps1xml scripts are not signed.


Shawn McCloskey

sh...@mccloskeys.net

Aaron Jensen

unread,
Jun 13, 2019, 7:11:39 PM6/13/19
to SHAWN MCCLOSKEY, carb...@googlegroups.com
I’d love to, but don’t have the money to be a code signing certificate. 

What’s your execution policy? Can you send me the command you’re running and the output, including the error message? 
--
You received this message because you are subscribed to the Google Groups "Carbon" group.
To unsubscribe from this group and stop receiving emails from it, send an email to carbonps+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/carbonps/300542230.659036.1560454875960%40connect.xfinity.com.
For more options, visit https://groups.google.com/d/optout.

SHAWN MCCLOSKEY

unread,
Jun 15, 2019, 10:38:16 AM6/15/19
to Aaron Jensen, carb...@googlegroups.com

Aaron,


My Execution Policy is allsigned.


I just use a self-signed certificate that I add to my destination machine into to the HKCU:\Trusted Root Certificate Authorities.


I used this web site as my reference for creating and using self signed certificates:


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


I will also send to you directly my procedure on how I create and manage self-signed scripts fro my 2 personal scripts. I don't know how chocolately is able to run all their scripts being unsigned, but that is a problem for another day.  If you could during the installation procedure incorporate a certificate, or distribute the Certificate, I wouldn't have any issue with installing one certificate.


Shawn

Reply all
Reply to author
Forward
0 new messages