在使用 windows 2016 配置 adfs 时,出现错误
the certificate specified doesn't meet the requirement
我确实在 Windows Server 2016 Datacentor 上安装和配置了 ADFS,当最后一步出现以下错误时,根据 https://ulyssesneves.com/2021/05/13/ad-fs-troubleshooting-error- 的建议the-certificate-specified-does-not-meet-all-the-requirements-of-an-ssl-certificate/?cn-reloaded=1 ,我尝试了以下命令,但是它不起作用。
有人可以提出解决方案
PS C:\Windows\system32> Set-WebApplicationProxySslCertificate -Thumbprint "BC8374123E87A14C03FFF1EB7963631B76AE690C"
Set-WebApplicationProxySslCertificate : The term 'Set-WebApplicationProxySslCertificate' is not recognized as the name of a cmdlet, function, script
file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ Set-WebApplicationProxySslCertificate -Thumbprint "BC8374123E87A14C03 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Set-WebApplicationProxySslCertificate:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PS C:\Windows\system32> Set-AdfsSslCertificate -Thumbprint BC8374123E87A14C03FFF1EB7963631B76AE690C
Set-AdfsSslCertificate : The communication object, System.ServiceModel.Channels.ServiceChannel, cannot be used for communication because it is in the
Faulted state.
At line:1 char:1
+ Set-AdfsSslCertificate -Thumbprint BC8374123E87A14C03FFF1EB7963631B76 ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [Set-AdfsSslCertificate], CommunicationObjectFaultedException
+ FullyQualifiedErrorId : System.ServiceModel.CommunicationObjectFaultedException,Microsoft.IdentityServer.Management.Commands.SetSslCertificateComma
nd