![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | Signing scripts Using the script below (exact same command found in two books) results in an error. Running this on a WXP SP2 box. Makecert.exe comes from the C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin directory. Thanx for pointing me in the right direction... Cheers, Hans ------------------------- C:\>makecert -n "CN=PowerShell Local Certificate root" -a sha1 -eku 1.3.6.1.5.5. 7.3.3 -r sv root.pvk root.cer -ss Root -sr localMachine Error: Too many parameters Usage: MakeCert [ basic|extended options] [outputCertificateFile] Basic Options -sk <keyName> Subject's key container name; To be created if not present -pe Mark generated private key as exportable -ss <store> Subject's certificate store name that stores the output certificate -sr <location> Subject's certificate store location. <CurrentUser|LocalMachine>. Default to 'CurrentUser' -# <number> Serial Number from 1 to 2^31-1. Default to be unique -$ <authority> The signing authority of the certificate <individual|commercial> -n <X509name> Certificate subject X500 name (eg: CN=Fred Dews) -? Return a list of basic options -! Return a list of extended options C:\> |
My System Specs![]() |
| | #2 (permalink) |
| | Re: Signing scripts The statement lacks a hyphen in front of the sv switch. The book (Windows PowerShell TFM, page 44 was wrong). "Hans Dingemans" <hans_dingemans@xxxxxx> wrote in message news:%23ACZqCZBIHA.4712@xxxxxx Quote: > Using the script below (exact same command found in two books) results in > an error. Running this on a WXP SP2 box. Makecert.exe comes from the > C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin directory. > > Thanx for pointing me in the right direction... > > Cheers, > Hans > ------------------------- > > C:\>makecert -n "CN=PowerShell Local Certificate root" -a sha1 -eku > 1.3.6.1.5.5. > 7.3.3 -r sv root.pvk root.cer -ss Root -sr localMachine > > Error: Too many parameters > Usage: MakeCert [ basic|extended options] [outputCertificateFile] > Basic Options > -sk <keyName> Subject's key container name; To be created if not > present > -pe Mark generated private key as exportable > -ss <store> Subject's certificate store name that stores the > output > certificate > -sr <location> Subject's certificate store location. > <CurrentUser|LocalMachine>. Default to > 'CurrentUser' > -# <number> Serial Number from 1 to 2^31-1. Default to be unique > -$ <authority> The signing authority of the certificate > <individual|commercial> > -n <X509name> Certificate subject X500 name (eg: CN=Fred Dews) > -? Return a list of basic options > -! Return a list of extended options > > C:\> > |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| run .cmd scripts on remote machine (automating the MOSS install via scripts) | PowerShell | |||
| AuthorizationManager Check Failed (signing scripts) | PowerShell | |||
| Signing Scripts | PowerShell | |||
| Signing Powershell Scripts with Microsoft Certificate Authority | PowerShell | |||
| Signing PS Scripts and COM Object Failures | PowerShell | |||