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

Create a manual run on install to allow acceptance of certificate #41

Closed
amelia808 opened this issue Nov 11, 2020 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@amelia808
Copy link

for some reason install.sh would hang for me on checking for installed apps, I looked further into this and it seems its due to the cert for xrdp not being prompted. Here is the output

  Checking for installed apps in RDP machine...[14:25:16:966] [7843:7844] [INFO][com.freerdp.core] - freerdp_connect:freerdp_set_last_error_ex resetting error state
[14:25:16:966] [7843:7844] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpdr
[14:25:16:966] [7843:7844] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rdpsnd
[14:25:16:966] [7843:7844] [INFO][com.freerdp.client.common.cmdline] - loading channelEx cliprdr
[14:25:16:966] [7843:7844] [INFO][com.freerdp.client.common.cmdline] - loading channelEx rail
[14:25:16:275] [7843:7844] [INFO][com.freerdp.primitives] - primitives autodetect, using optimized
[14:25:16:278] [7843:7844] [INFO][com.freerdp.core] - freerdp_tcp_is_hostname_resolvable:freerdp_set_last_error_ex resetting error state
[14:25:16:278] [7843:7844] [INFO][com.freerdp.core] - freerdp_tcp_connect:freerdp_set_last_error_ex resetting error state
[14:25:16:285] [7843:7844] [WARN][com.freerdp.crypto] - Certificate verification failure 'self signed certificate (18)' at stack position 0
[14:25:16:285] [7843:7844] [WARN][com.freerdp.crypto] - CN = RDPWindows
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] - @           WARNING: CERTIFICATE NAME MISMATCH!           @
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] - @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] - The hostname used for this connection (192.168.122.29:3389) 
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] - does not match the name given in the certificate:
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] - Common Name (CN):
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] -        RDPWindows
[14:25:16:285] [7843:7844] [ERROR][com.freerdp.crypto] - A valid certificate for the wrong name should NOT be trusted!
Certificate details for 192.168.122.29:3389 (RDP-Server):
        Common Name: RDPWindows
        Subject:     CN = RDPWindows
        Issuer:      CN = RDPWindows
        Thumbprint:  bf:8e:c0:d5:0f:e8:05:fc:47:77:51:08:3e:04:94:dd:86:f2:c9:f0:f2:df:1b:3b:f2:ad:53:18:b2:45:2b:2f
The above X.509 certificate could not be verified, possibly because you do not have
the CA certificate in your certificate store, or the certificate has expired.
Please look at the OpenSSL documentation on how to add a private CA to the store.
Do you trust the above certificate? (Y/T/N) y

after accepting the cert and running the script again it works.

@Fmstrat Fmstrat changed the title install.sh hangs Create a manual run on install to allow acceptance of certificate Nov 12, 2020
@Fmstrat Fmstrat added the bug Something isn't working label Nov 12, 2020
@Fmstrat
Copy link
Owner

Fmstrat commented Nov 12, 2020

aef6e14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants