Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't run New-SelfSignedCertificate #37

Closed
einarc opened this issue Oct 6, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@einarc
Copy link

commented Oct 6, 2017

yAlgorithm RSA -KeyLength 2048 -NotAfter (Get-Date).AddMonths(6)
New-SelfSignedCertificate : A parameter cannot be found that matches parameter name 'Type'.
At line:1 char:27

  • New-SelfSignedCertificate -Type Custom -Container test* -Subject "CN=Patti Fulle ...
  •                       ~~~~~
    
    • CategoryInfo : InvalidArgument: (:) [New-SelfSignedCertificate], ParameterBindingException
    • FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.CertificateServices.Commands.NewSelfSignedCertificateCo
      mmand

Running on Windows 2012

Neither following these instructions:
https://docs.microsoft.com/en-us/powershell/module/pkiclient/new-selfsignedcertificate?view=win10-ps

@einarc

This comment has been minimized.

Copy link
Author

commented Oct 6, 2017

Actually, after reading this, please update the code saying that Windows 2012 doesn't really support your instructions.

@jmprieur

This comment has been minimized.

Copy link
Contributor

commented Feb 5, 2018

Done.

@jmprieur jmprieur closed this Feb 5, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.