Skip to content
This repository has been archived by the owner on Dec 17, 2019. It is now read-only.

Can't run New-SelfSignedCertificate #37

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

Can't run New-SelfSignedCertificate #37

einarc opened this issue Oct 6, 2017 · 3 comments

Comments

@einarc
Copy link

einarc 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
Copy link
Author

einarc commented Oct 6, 2017

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

@jmprieur
Copy link
Contributor

jmprieur commented Feb 5, 2018

Done.

@jmprieur jmprieur closed this as completed Feb 5, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants