Unable to create a self signed Certificate for SQL Server 2017(14.x.xxxx)
1
vote
2
answers
3799
views
Using SQL Server 2017 Developer Edition
The command I'm using is:
>New-SelfSignedCertificate -CertStoreLocation Cert:\LocalMachine\My -DnsName host.doman.com -KeySpec KeyExchange -FriendlyName SQLCert
The error message is:
>New-SelfSignedCertificate : A parameter cannot be found that matches parameter name 'KeySpec'.
My powerShell version is:

PS C:\Windows\system32> $PSversionTable Name Value ---- ----- PSVersion 4.0 WSManStackVersion 3.0 SerializationVersion 1.1.0.1 CLRVersion 4.0.30319.42000 BuildVersion 6.3.9600.18773 PSCompatibleVersions {1.0, 2.0, 3.0, 4.0} PSRemotingProtocolVersion 2.2
Asked by Jr. dhh
(17 rep)
Apr 26, 2018, 10:08 AM
Last activity: Mar 12, 2025, 06:07 PM
Last activity: Mar 12, 2025, 06:07 PM