Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vagrant rdp needs to be able to accept certificate #11766

Open
pbrezina opened this issue Jul 14, 2020 · 1 comment
Open

vagrant rdp needs to be able to accept certificate #11766

pbrezina opened this issue Jul 14, 2020 · 1 comment

Comments

@pbrezina
Copy link

I'm using rdesktop to access Windows machines. Sometimes, vagrant rdp commands gets stuck because rdesktop requires user input (to accept the certificate) so I have to run rdesktop manually before using vagrant rdp Vagrant should allow communication between user and the underlying tool.

$ vagrant rdp ad
==> ad: Detecting RDP info...
    ad: Address: 192.168.121.6:3389
    ad: Username: .\Administrator
==> ad: Vagrant will now launch your RDP client with the connection parameters
==> ad: above. If the connection fails, verify that the information above is
==> ad: correct. Additionally, make sure the RDP server is configured and
==> ad: running in the guest machine (it is disabled by default on Windows).
==> ad: Also, verify that the firewall is open to allow RDP connections.
^C (it is stuck here)

$ /usr/bin/rdesktop -u .\Administrator -p ... 192.168.121.6:3389
Autoselecting keyboard map 'en-us' from locale

ATTENTION! Found a certificate stored for host '192.168.121.6', but it does not match the certificate
received from server.
Review the following certificate info before you trust it to be added as an exception.
If you do not trust the certificate the connection atempt will be aborted:

    Subject: ...
     Issuer: ...
 Valid From: Mon Jul 13 13:58:58 2020
         To: Tue Jan 12 12:58:58 2021

  Certificate fingerprints:

       sha1: ...
     sha256: ...


Do you trust this certificate (yes/no)? yes
@jbonhag
Copy link
Contributor

jbonhag commented Jul 14, 2020

Related: rdesktop/rdesktop#349

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants