VMware Cloud Community
jvm2016
Hot Shot
Hot Shot
Jump to solution

digital_signature_powercli

Hi Luc,

I  have one file  .psm1 with multiple functions which i want to upload to a internal share  where others can download and use it .

i want to make sure that that content  is not modified once other use them .

could you suggest the simplest way of digitally sign that .psm1 file

i have following powershell version

pastedImage_0.png

Reply
0 Kudos
1 Solution

Accepted Solutions
LucD
Leadership
Leadership
Jump to solution

There is the PowerShell about_Signing page which explains all the steps.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

View solution in original post

Reply
0 Kudos
7 Replies
LucD
Leadership
Leadership
Jump to solution

There is the PowerShell about_Signing page which explains all the steps.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

thnaks.

Reply
0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

for some resons  new-selfsignedcertificate command is missing .

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

What does $PSVersionTable say?
Are you on a Windows 10 or Server 2016 (or higher) box?


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

its windows server 2008 R2.and powershell version is 5.1

Reply
0 Kudos
LucD
Leadership
Leadership
Jump to solution

That would explain, afaik the module is included with Windows 8 and Server 2012 (and higher).

This post, see Create a self-signed certificate on Windows server, explains how to do the same with the certreq command.
Hope that helps.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
jvm2016
Hot Shot
Hot Shot
Jump to solution

thanks iam checking this.

Reply
0 Kudos