Forum / Remote Desktop Manager Mac - Support

Certificate issues

  • Create an Issue
  • Cancel

I cannot connect to any host via an RDG gateway (including, as show in the attached screen snippet, the RDG host itself) because of repeated certificate errors. I have tried it with "handle certificates internally" on and off.

Mac RDP client works with the same definition.

Any help appreciated. I keep trying to use the Mac client without success. Between it's lack of support for LastPass credential lookup and its inability to manage certs, I have not been able to connect at all.

2014-10-07_10-41-38_01.png
Clock6 yrs

Hi,

Let me try to figure out exactly what is happening.

Did you click yes or no to the question The identity of the remote computer could not be identified?
Do you see any error message after the window you sent us?

Thank you

Benoît Sansregret

signaturesignature

Clock6 yrs

I replied yes and the error message is "peer connection lost."

Clock6 yrs

i have the same problem

Clock6 yrs

Hi,

"peer connection lost" can happen for different reasons but mainly it happen when the network fails or when the remote computer close the connection.

Can you connect using Microsoft Remote Desktop ?

@cmenbell Do you use a gateway?

Thank you for your feedback

Benoît Sansregret

signaturesignature

Clock6 yrs

Forgot one question what version of OS X do you use?

Thanks again

Benoît Sansregret

signaturesignature

Clock6 yrs



we have to do a RDP Connection from a MacBook with 10.9.4 (Maverick) that need to support,


certificates
RD gateway
smartcard redirect


I tried to do this connection with microsoft RD and works fine but this client dont support smatcard redirects.


When we connect throught the RD gateway, you must validate a certificate, then the gatway redirects to the TS verser and finally redirects to your Virtual Desktop (tsv://aaaa.1.Escriptori) and use a secondary certificate.


The smartcard is for an application.


Thank you.

Clock5 yrs

one more thing,

i tried to do a connection creating a credential from mac keychain, and the result was a crash.

cmenbell wrote:



we have to do a RDP Connection from a MacBook with 10.9.4 (Maverick) that need to support,


certificates
RD gateway
smartcard redirect


I tried to do this connection with microsoft RD and works fine but this client dont support smatcard redirects.


When we connect throught the RD gateway, you must validate a certificate, then the gatway redirects to the TS verser and finally redirects to your Virtual Desktop (tsv://aaaa.1.Escriptori) and use a secondary certificate.


The smartcard is for an application.


Thank you.

Clock5 yrs

Hi,

I'm looking into what can cause the certificate or the RD Gateway to fail.

Is it possible for you to isolate each step and tell me which one fails ?

Also what kind of hardware do you use for your smart card?

Thank you

Benoît Sansregret

signaturesignature

Clock5 yrs

Hi,

the smatcard isn't relevant, i connect the smartcard before i established the RD. I use it for a private app.

Without credential with apple keychain,

the program ask me for valid user/password (it works on microsoft RD) and obtained message "the peer conection was lost"

with credential,

the program crash,


Exception - Could not initialize an instance of the type 'MonoMac.Foundation.NSString': the native 'initWithData:encoding:' method returned nil.
It is possible to ignore this condition by setting MonoTouch.ObjCRuntime.Class.ThrowOnInitFailure to false.

at MonoMac.Foundation.NSObject.InitializeHandle (intptr,string) <0x00157>
at MonoMac.Foundation.NSString..ctor (MonoMac.Foundation.NSData,MonoMac.Foundation.NSStringEncoding) <0x0006b>
at MonoMac.Foundation.NSString.FromData (MonoMac.Foundation.NSData,MonoMac.Foundation.NSStringEncoding) <0x0002b>
at A.c42e27b17b47be1f3ff38a44e6944566f.c2215a139950ddbfff830373724c2d94e (string,string&,string&wink <0x000e3>
at A.c156b9b112419d4c279bc24e8863d8990.c2215a139950ddbfff830373724c2d94e (string,string&,string&wink <0x00017>
at A.cd0658f016d8f34f04b1861614690d84d.cd50e0b9439716e4a35264459c973b85b (Devolutions.RemoteDesktopManager.Business.CredentialsConnection,Devolutions.RemoteDesktopManager.Business.Connection,Devolutions.RemoteDesktopManager.CredentialRepositoryDestination) <0x00041>
at A.c3ee0399a7971b94e1ed897a5591813bb.caf78d31595607b27a28ed028110907f5 (Devolutions.RemoteDesktopManager.Business.CredentialsConnection,Devolutions.RemoteDesktopManager.Business.Connection,Devolutions.RemoteDesktopManager.CredentialRepositoryDestination) <0x000b2>
at A.c3ee0399a7971b94e1ed897a5591813bb.ca3ee3c56e1bfe68d3f3b6c7b3cfe4bb6 (Devolutions.RemoteDesktopManager.Business.Connection,string,Devolutions.RemoteDesktopManager.CredentialRepositoryDestination) <0x00607>
at A.c3ee0399a7971b94e1ed897a5591813bb.cdc4b7bdf4e465b7eaad15533a6e8a512 (Devolutions.RemoteDesktopManager.Business.Connection,string,Devolutions.RemoteDesktopManager.CredentialRepositoryDestination) <0x0001f>
at A.cbbb560bfd0154564f3a0626f8038689f.ca1ac8b285aab85de26d493bfa4c3bf5a (Devolutions.RemoteDesktopManager.Business.Connection,bool,bool,bool) <0x000bb>
at A.cbbb560bfd0154564f3a0626f8038689f.c63ee1d10b27efa8aeb9783b591ebacb1 (Devolutions.RemoteDesktopManager.Business.Connection,Devolutions.RemoteDesktopManager.Business.OpenConnectionParameter) <0x0019f>
at A.cbbb560bfd0154564f3a0626f8038689f.c63ee1d10b27efa8aeb9783b591ebacb1 (Devolutions.RemoteDesktopManager.Business.Connection,Devolutions.RemoteDesktopManager.OpenConnectionMode) <0x0003b>
at A.cbbb560bfd0154564f3a0626f8038689f.ca6ff4cfdf8ec47c83eac02d4ddbe493c (Devolutions.RemoteDesktopManager.Business.Connection[],Devolutions.RemoteDesktopManager.OpenConnectionMode) <0x0013f>
at A.c1933be818b32ca543a867aadd3cdc1d2.c680103c0dc3cc1f1dfb272e0b573af82 (Devolutions.RemoteDesktopManager.Business.Connection[],Devolutions.RemoteDesktopManager.OpenConnectionMode,A.cac84f3e820b0ba6ecc8829c54b27cfa2) <0x0023f>
at A.c1933be818b32ca543a867aadd3cdc1d2.ca6ff4cfdf8ec47c83eac02d4ddbe493c (Devolutions.RemoteDesktopManager.OpenConnectionMode,A.cac84f3e820b0ba6ecc8829c54b27cfa2) <0x0007b>
at Devolutions.RemoteDesktopManager.Managers.SessionMenuManager.MnuOpenConnection_Click (object,System.EventArgs) <0x00023>
at Devolutions.RemoteDesktopManager.Managers.SessionMenuManager.MnuOpenConnection_Click (MonoMac.Foundation.NSObject) <0x0001b>
at (wrapper dynamic-method) object.[Devolutions.RemoteDesktopManager.Managers.SessionMenuManager.Void MnuOpenConnection_Click(MonoMac.Foundation.NSObject)] (MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector,MonoMac.Foundation.NSObject) <0x00033>
at (wrapper native-to-managed) object.[Devolutions.RemoteDesktopManager.Managers.SessionMenuManager.Void MnuOpenConnection_Click(MonoMac.Foundation.NSObject)] (MonoMac.Foundation.NSObject,MonoMac.ObjCRuntime.Selector,MonoMac.Foundation.NSObject) <0x0011b>
at (wrapper managed-to-native) MonoMac.AppKit.NSApplication.NSApplicationMain (int,string[]) <0x00012>
at MonoMac.AppKit.NSApplication.Main (string[]) <0x00097>
at A.c9915ca121469087426fd2a6ac5dcb6b1.cf0dc1cfd9b511309d6fbd24be6ac2187 () <0x00027>
at A.c9915ca121469087426fd2a6ac5dcb6b1.cf80ac4075cce562eb8254151c47d3e24 () <0x0003e>
at A.c9915ca121469087426fd2a6ac5dcb6b1.cf80ac4075cce562eb8254151c47d3e24<A.cdd520c65dd8e922550634a1652d62e71> () <0x00073>
at A.c9915ca121469087426fd2a6ac5dcb6b1.cf80ac4075cce562eb8254151c47d3e24<A.cdd520c65dd8e922550634a1652d62e71> (string[]) <0x0002b>
at A.cdd520c65dd8e922550634a1652d62e71.cd00ca868e3a2e07e1a60509ada71b4d9 (string[]) <0x001cb>


Thanks

Clock5 yrs

Hi,

The crash you get tells me that the apple keychain entry you use doesn't have any data.

What kind of apple entry are you using?

Thank you
edited by Benoit Sansregret on 10/16/2014

Benoît Sansregret

signaturesignature

Clock5 yrs

Yes, it wan an error in one certificate. I am trying with new certificates but i obtained the same result.

I seems to there is a problem with freerdp, https://github.com/FreeRDP/FreeRDP/issues/1210 style="color:#222222">. If you have new ideas....


Thanks in advance

Clock5 yrs

Ok Thank You

I'll see what I can get from our partner working on FreeRDP.

Benoît Sansregret

signaturesignature

Clock5 yrs

Hello,

This thread got hijacked.

My problem remains and has nothing to do with smart cards.

Now that the Mac version has support for dynamic password entries from LastPass, I am more eager than ever to use it. But I cannot connect via our RDG to any of the RDP sessions on our servers. The definitions that work perfectly in the Windows version of RDM do not work at all on the Mac.

I have changed both the RDG connection and the target server to use local credentials, but that fails as well with "failed to connect to peer error messages."

I think this is because of a cert as changing the Connections options to ignore warnings does suppress the unknown host error message but still fails to connect.

Could this be because I am using a wildcard cert on the RDG? If so, this should be fixed as it's a valid cert for any server inside the network protected by the RDG and is signed by DigiCert. (That is, the wildcard cert is installed on the RDG server's certificate store and used by the RDG process.)

Thanks -- I really wish we could get this fixed as it would be great if I could use the Mac version. As it is, I cannot connec to any of our servers.

Clock5 yrs

Hi,

What you say make sense and we will work with our partner at AwakeCoding to resolve this situation.

Thank you for those additional information.

Benoît Sansregret

signaturesignature

Clock5 yrs

Hi.

I just tried 1.1.0.0 and, unfortunately, I still cannot connect to a remote RDP session via RDG in which both the RDG and the destination use a wildcard certificate (at least I hope that is the problem description).

This means that the Mac version is totally useless for me -- and I really wish it weren't so. ;-)

Clock5 yrs

Hi,

I'm sorry to hear that.
I can assure you that we are working on it and I will post on this forum when we will have a solution.

Benoît Sansregret

signaturesignature

Clock5 yrs

Hi,

Our latest release (1.1.5.0) contain a fix for the gateway and certificate issue.

You can download it here http://mac.remotedesktopmanager.com/home/download

Tell me if you're still having connection issue with it.

Benoît Sansregret

signaturesignature

Clock5 yrs