RDP Certificate issues

avatar

Hi,

is there a way to ignore certificate Problems when connecting to a RD Gateway?

[13:58:34:917] [19058:19060] [WARN][com.freerdp.crypto] - Certificate verification failure 'self-signed certificate (18)' at stack position 0
[13:58:34:917] [19058:19060] [WARN][com.freerdp.crypto] - CN = *******************************
[13:58:34:917] [19058:19060] [ERROR][com.freerdp.crypto] - certificate not trusted, aborting.
[13:58:34:917] [19058:19060] [ERROR][com.freerdp.core] - rdg_tls_connect:freerdp_set_last_error_ex ERRCONNECT_TLS_CONNECT_FAILED [0x00020008]

Cannot find an option in RDP Settings.

Thanks,

juergen

All Comments (12)

avatar

Hello

Just to clarify something, are you launching an embedded RDP session, or using RDM to open xfreerdp externally?

Thanks and kind regards,

Richard Markievicz

avatar

Hi Richard,

I think freerdp is the default backend for RDP Connections here (Linux Mint).

To be more detailed: I imported a working (works at least with thincast rdp client) .rdp file into RDM and tried to connect, so I assume the answer is embedded?

The Log Snipplet is from debug mode (https://forum.devolutions.net/topics/56190/swapped-from-windows-to-linux-rdm-is-failing-rdp-wrd-gateway-based-jum).

thanks juergen

avatar

Hi Juergen

Just to clarify one thing; when you imported your .rdp file you should have two options: "import RDP content" and "Link to the RDP file". Do you know which one you chose?

Another way to know, if you don't remember; in the dashboard view of your session does it have the "External" banner?

Screenshot 2026-10-28 at 10.36.31.png

Thanks and kind regards,

Richard Markievicz

avatar

I choose "import RDP content" and ther is no "external" badge.

thanks,

juergen

avatar

Hi Juergen

Thank you. I hope I don't appear difficult; what I infer from your log is that RDM is trying to launch the connection in xfreerdp externally, instead of as an embedded tab inside RDM. I can see a scenario where the connection will fail with an untrusted gateway cert in this mode but this should be working well with the embedded RDP and I think the key is to understand why the connection is not being launching inside RDM.

Would you mind to export the entry from RDM and send it to me? Right-click, Export > Export as RDM. Make sure you uncheck the box to "Include Credentials". The file that it creates is XML so you can also feel free to anonymize anything else you don't want me to see (like server addresses). Then you can send it to me by PM here on the forum.

Please, let me know if something isn't clear and thank you for your patience

Kind regards,

Richard Markievicz

avatar

Hi Juergen

Thank you. I hope I don't appear difficult; what I infer from your log is that RDM is trying to launch the connection in xfreerdp externally, instead of as an embedded tab inside RDM. I can see a scenario where the connection will fail with an untrusted gateway cert in this mode but this should be working well with the embedded RDP and I think the key is to understand why the connection is not being launching inside RDM.

Would you mind to export the entry from RDM and send it to me? Right-click, Export > Export as RDM. Make sure you uncheck the box to "Include Credentials". The file that it creates is XML so you can also feel free to anonymize anything else you don't want me to see (like server addresses). Then you can send it to me by PM here on the forum.

Please, let me know if something isn't clear and thank you for your patience

Kind regards,

@Richard Markiewicz

done