标签: powershell ssl self-signed-certificate
我正在尝试创建SSL并收到以下错误:找不到与参数名称“ KeySpec”匹配的参数。
$cert = New-SelfSignedCertificate -CertStoreLocation "Cert:\LocalMachine\My" -DnsName "sampleapp.test.com" -KeySpec Signature -FriendlyName "saml app"
任何想法如何解决?