locked
SFB:can't assign certificate with set-cscertificate command RRS feed

  • Question

  • The Certificates part of SFB FE server's Deployment Wizard is not working, basically it shows nothing after opening it.

    Hence I am trying to import certificates from powershell, below are the commands I'm using

    Import-CsCertificate -Path "xxx" -Password "xxx" -PrivateKeyExportable $True

    Set-CSCertificate -Identity Global -Type OAuthTokenIssuer -Thumbprint "xxxx"

    Then I got below error, anyone could help?

    Error: The computer does not need a certificate for the usage type OAuthTokenIssuer. Check the services and components hosted on this computer.

    └ Type: InvalidOperationException

        └   at Microsoft.Rtc.Management.Deployment.Core.CertificateDetails..ctor(CertificateUse[] uses, Computer computer, Boolean includeAllSipDomains)
    at Microsoft.Rtc.Management.Deployment.Core.Certificate.SetCertificate(String thumbprint, Nullable`1 effectiveTime, Boolean isRoll)
    at Microsoft.Rtc.Management.Deployment.Tasks.SetCertificateTask.Action()
    at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action)

    Tuesday, September 1, 2020 6:45 AM