Python/RDP Platform SSL: CERTIFICATE_VERIFY_FAILED

Hi to all,

Trying to open a RDP Session in Python from the local network behind office Proxy, I get that message,

___

ERROR!!! authentication handler raise an exception.

ConnectError('[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)')

ERROR!!! CANNOT authorize to RDP authentication endpoint.

Unexpected error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129).

(server-mode is disbled)

___

Please, do you have any idea?

Of course no issue in CodeBook, but I wish I could use out of LSEG Workspace.

Many thanks,

Best Answer

  • olivier.bourgi
    olivier.bourgi Newcomer
    Answer ✓

    Hi, Many thanks for you help

    Indeed I will not be able to use the RDP Platform as such ... because I would need to i- disable verification , and ii-- not check for certificate

    That seems not possible with the RDP API.


    HOWEVER ( GOOD NEWS ) I managed to retrieve some data !!! using the basic Rest API.

    Indeed with that API

    1. You can create a session token or resuse one not expired,


    and

    2. for each "Post or Get connection" you can specify

    - the Proxy

    - and the parameters to both disable Verification and not check the Certificate

    Then we get a JSON to work on....the data!


    That was the good news to start 2024 and the work to redo what is already done in RDP Platform with ready to use functions ...:)

Answers