RDP encryption with SSL and certificates

This is for discussing general topics about how to use VirtualBox.
Post Reply
dreif34
Posts: 3
Joined: 5. Apr 2011, 08:48
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows

RDP encryption with SSL and certificates

Post by dreif34 »

Hi,

I do not get RDP with certificate working.

I followed the manual https://www.virtualbox.org/manual/ch07.html#vrde-crypt to generate all my certs and configure the VM but it doesn't work.

I checked my VM by setting Security/Method=RDP" : then it works. But as soon as I set Security/Method=TLS" or Security/Method=Negotiate" : connection failed.

Starting client :

Code: Select all

$ rdesktop-vrdp 127.0.0.1:13389
Connection established using SSL.
-> (but no RDP window pops up)
VM Log :

Code: Select all

00:09:33.653829 VRDP: New connection: 
00:09:33.653876 VRDP: Connection opened (IPv4): 7
00:09:33.654077 VRDP: Negotiating security method with the client.
00:09:33.679985 VRDP: Using TLS connection.
00:09:33.680010 VRDP: [/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd]
00:09:33.685543 VRDP: Methods 0x00000000
00:09:33.685569 VRDP: Channel: [cliprdr] [1004]. Accepted.
00:09:33.685575 VRDP: Channel: [rdpsnd] [1005]. Accepted.
00:09:33.685579 VRDP: Channel: [snddbg] [1006]. Not supported.
00:09:33.685583 VRDP: Channel: [rdpdr] [1007]. Accepted.
00:09:33.686497 VRDP: Client seems to be rdesktop.
00:09:33.686520 VRDP: Logon: homebox (127.0.0.1) build 2600. User: [ubuntu] Domain: [] Screen: 0
00:09:33.686797 AUTH: User: [ubuntu]. Domain: []. Authentication type: [Null]
00:09:33.686805 AUTH: Access granted.
00:09:33.688635 VBVA: VRDP acceleration has been requested.
Settings:

Code: Select all

$ vboxmanage showvminfo TestVM | grep -i vrde
VRDE:            enabled (Address 0.0.0.0, Ports 13389, MultiConn: on, ReuseSingleConn: off, Authentication type: null)
VRDE port:       13389
VRDE property: TCP/Ports  = "13389"
VRDE property: TCP/Address = <not set>
VRDE property: VideoChannel/Enabled = <not set>
VRDE property: VideoChannel/Quality = <not set>
VRDE property: VideoChannel/DownscaleProtection = <not set>
VRDE property: Client/DisableDisplay = <not set>
VRDE property: Client/DisableInput = <not set>
VRDE property: Client/DisableAudio = <not set>
VRDE property: Client/DisableUSB = <not set>
VRDE property: Client/DisableClipboard = <not set>
VRDE property: Client/DisableUpstreamAudio = <not set>
VRDE property: Client/DisableRDPDR = <not set>
VRDE property: H3DRedirect/Enabled = <not set>
VRDE property: Security/Method = "Negotiate"
VRDE property: Security/ServerCertificate = "/home/ubuntu/.VirtualBox/encryption/server_cert.pem"
VRDE property: Security/ServerPrivateKey = "/home/ubuntu/.VirtualBox/encryption/server_key_private.pem"
VRDE property: Security/CACertificate = "/home/ubuntu/.VirtualBox/encryption/ca_cert.pem"
VRDE property: Audio/RateCorrectionMode = <not set>
VRDE property: Audio/LogPath = <not set>
VRDE Connection:    active
Thank you,

Damien
dreif34
Posts: 3
Joined: 5. Apr 2011, 08:48
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Windows

Re: RDP encryption with SSL and certificates

Post by dreif34 »

I tested with remmina (alternate RDP client) and it works.
Post Reply