locked
WARNING: Set-CsCertificate failed ? RRS feed

  • Question

  • Hello guys , 

    which Certificate ?? I have checked the External Cert on Edge Server , It is there !!! 

    WARNING: Set-CsCertificate failed.
    WARNING: Detailed results can be found at "C:\Users\Administrator.BCT\AppData\Local\Temp\Set-CsCertificate-cbc76b63-738c-4eed-a8f6-d7241a2498f4.html".
    Certificate "cce.oc365s.info" added to store.
    CertUtil: -importPFX command completed successfully.
    WARNING: Set-CsCertificate failed.
    WARNING: Detailed results can be found at "C:\Users\Administrator.BCT\AppData\Local\Temp\Set-CsCertificate-beddffa0-c625-4dd1-b652-6bd48aae1b4b.html".
    WARNING: Detailed results can be found at "C:\Users\Administrator.BCT\AppData\Local\Temp\Enable-CsReplica-dc3bb1ae-0390-42ca-924a-995b120d1119.html".
    Parent registry key for Cloud Connector server role doesn't exist on VM : Edge, will create a new one.
    Creating server role registry key on VM : Edge.
    NotSpecified: (:String) [], RemoteException
    At C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Internal\MtSetup.ps1:360 char:13
    +             Invoke-Command -ComputerName $machineIP -Credential $doma ...
    +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:String) [], RemoteException
        + FullyQualifiedErrorId : NativeCommandError
    Trying to exit current manual maintenance mode.
    Successfully exit manual maintenance mode.
    NotSpecified: (:String) [], RemoteException
    At C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Internal\MtSetup.ps1:360 char:13
    +             Invoke-Command -ComputerName $machineIP -Credential $doma ...
    +             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:String) [], RemoteException
        + FullyQualifiedErrorId : NativeCommandError
        + PSComputerName        : 192.168.213.5

    Friday, January 19, 2018 7:50 PM

Answers

  • Review the HTML reports, it will give you the specifics of which certificate and why.

    C:\Users\Administrator.BCT\AppData\Local\Temp\Set-CsCertificate-cbc76b63-738c-4eed-a8f6-d7241a2498f4.html

    C:\Users\Administrator.BCT\AppData\Local\Temp\Set-CsCertificate-beddffa0-c625-4dd1-b652-6bd48aae1b4b.html


    Please mark posts as answers/helpful if it answers your question.
    Blog
    Skype Validator - Used to assist in the validation and documentation of Skype for Business/Lync Server.


    Friday, January 19, 2018 7:57 PM

All replies

  • Review the HTML reports, it will give you the specifics of which certificate and why.

    C:\Users\Administrator.BCT\AppData\Local\Temp\Set-CsCertificate-cbc76b63-738c-4eed-a8f6-d7241a2498f4.html

    C:\Users\Administrator.BCT\AppData\Local\Temp\Set-CsCertificate-beddffa0-c625-4dd1-b652-6bd48aae1b4b.html


    Please mark posts as answers/helpful if it answers your question.
    Blog
    Skype Validator - Used to assist in the validation and documentation of Skype for Business/Lync Server.


    Friday, January 19, 2018 7:57 PM
  • Hi KrayemAjjawi,

    Agree with Michael,you could open the path ,check the which certificate and root cause.I find a similar thread, you could have a reference.

    https://erwinbierens.com/cloud-connector-edition-upgrade-issues/

    Note: Microsoft is providing this information as a convenience to you. The sites are not controlled by Microsoft. Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there. Please make sure that you completely understand the risk before retrieving any suggestions from the above link.

    Regards,

    Leon Lu


    Please remember to mark the replies as answers if they helped. If you have feedback for TechNet Subscriber Support, contact tnsf@microsoft.com.

    Click here to learn more. Visit the dedicated forum to share, explore and talk to experts about Microsoft Teams.

    Monday, January 22, 2018 6:48 AM
  • Hi Leon Lu

    I have followed Michael instructions , this error didnt appear, but other error appears in the end of the deployment.

    this is the error: 

    Deployment process spent 3852 seconds.
    Enabling credential delegation for NTLM on host machine.
    Creating key on host machine: hklm:\SOFTWARE\Policies\Microsoft\Windows\CredentialsDelegation\AllowFreshCredentialsWhenNTLMOnly
    Disabling credential delegation for NTLM on host machine.
    Removing key on host machine: hklm:\SOFTWARE\Policies\Microsoft\Windows\CredentialsDelegation\AllowFreshCredentialsWhenNTLMOnly.
    The configuration for virtual machine cleanup is generated in memory.
    Successfully removed the virtual switch 343cf841-6ffa-49a6-9fed-7d2455a17712 from the host server.
    Successfully removed the virtual switch c95db915-4e50-489d-9369-88391213a04c from the host server.
    Task:InstallInstance ends at 2018-01-22T10:41:47.0053637-05:00
    The SwitchVersion log is in C:\Users\Administrator\CloudConnector\ApplianceRoot\Log\cce_SwitchVersion_05_00_2018_01_22_10_41_49.log.
    Task:SwitchVersion starts at 2018-01-22T10:41:49.6772332-05:00
    The current scripts version is 2.1.0.
    There are no instances currently running.
    Switching Skype for Business Cloud Connector Edition version starts.
    Restarting 2.1.0 - Broadconnect - AD.
    Wait-MtMachineOn : Can't connect to machine 172.19.40.161 after waiting 617 seconds.
    At C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Internal\MtVm.ps1:473 char:5
    +     Wait-MtMachineOn -MachineIP $MachineIP -Credential $Credential -W ...
    +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
        + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Wait-MtMachineOn
     Trying to exit current manual maintenance mode.
    Successfully exit manual maintenance mode.
    Wait-MtMachineOn : Can't connect to machine 172.19.40.161 after waiting 617 seconds.
    At C:\Program Files\WindowsPowerShell\Modules\CloudConnector\Internal\MtVm.ps1:473 char:5
    +     Wait-MtMachineOn -MachineIP $MachineIP -Credential $Credential -W ...
    +     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [Write-Error], WriteErrorException
        + FullyQualifiedErrorId : Microsoft.PowerShell.Commands.WriteErrorException,Wait-MtMachineOn

    Monday, January 22, 2018 4:27 PM