teamviewer.com link icon
or
Ask The Community

Agent assign "SSL peer certificate or SSH remote key was not OK"

Hi

i am trying to install the Teamviewer-iot-agent on a custom device.

When i try to assign the key with the command:

teamviewer-iot-agent assign -t xxxxxx-xxxxxxxxxxxxxxxxxx -g $'My computers'

i receive

Assignment is in progress ...

Failed to assign. See the log file for details.

and the log shows

HttpClient::CreateRequest options=<none>

2021/04/24 23:45:36.074 25634 3069874192     HttpRequest::StartGet url=https://webapi.teamviewer.com/api/v1/devices?remotecontrol_id=r2029763294

2021/04/24 23:45:36.216 25634 3067101008 !! HttpRequestImpl::CurlFinished(): curl request failed: SSL peer certificate or SSH remote key was not OK (60), SSL certificate problem: unable to get local issuer certificate

2021/04/24 23:45:36.218 25634 3069874192  !! DeviceAssignmentStarter::Run: device assignment failed - WebAPI failed to perform requested action - HTTP request has failed permanently - https://webapi.teamviewer.com/api/v1/devices - SSL certificate problem: unable to get local issuer certificate, Errorcode=97


any help?

Answers

  • mircea_c
    mircea_c Posts: 140 Staff member 🤠

    Hi @luke_b

    At first glance is looking as a connection issue. Please have a look here for checking the open ports used by Teamviewer.

    Also check if SSL requests/handshake are not getting blocked in the firewall.

    Regards,

    Tech Support IoT

    Did my reply answer your question? Accept it as a solution to help others.
    Find this helpful? Say thanks by clicking on the Thumbs Up button.

  • luke_b
    luke_b Posts: 3 ✭✭

    Thank you for the answer,

    i just solved it with a linux certificate upgrade, specifically "Comodo AAA Services root"


    Regards,