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

handle_https_peer failed error="TLS handshake failed: unexpected error: no server certificate chain resolved" #775

Open
cakruege opened this issue Mar 18, 2024 · 4 comments

Comments

@cakruege
Copy link

Hi,

if I try to test the gatway standalone and use a self signed cert I'll only get:
handle_https_peer failed error="TLS handshake failed: unexpected error: no server certificate chain resolved"

greetings
Carsten

@cakruege
Copy link
Author

PS: With a Test CA which signs a cert it works.

But the it's horrible slow compared to guacamole and even more compared to pure RDP.

Test setup:
Windows 10 machine with Gateway in standalone mode <--DSL connection--> Chrome
the DSL connection has 35ms latency and 8 mbit upload

@CBenoit
Copy link
Member

CBenoit commented Mar 19, 2024

Hi! Thank you for reporting this issue.

if I try to test the gatway standalone and use a self signed cert I'll only get:
handle_https_peer failed error="TLS handshake failed: unexpected error: no server certificate chain resolved"

Did you generate the self signed using the installer?

image

I’m currently unable to reproduce the issue using the installer.

If you did not use the installer to generate the self-signed certificate, could you describe the procedure you used? (openssl commands, etc)

Can you confirm me which version of the Devolutions Gateway you installed? (The current latest is 2024.1.3.0.)

If you don’t mind sending us the self signed certificate and private key you used, this could help us investigating this issue. (This is assuming you don’t intend to use it anymore in the future of course.)

But the it's horrible slow compared to guacamole and even more compared to pure RDP.

Maybe something is off for it to perform poorer than Guacamole, it’s not supposed to be the case. Unfortunately, it’s hard to say what happened just with this description. However, it will always be slower than the native client, we can’t achieve the same speed when running in the web browser how matter how hard we try.

@cakruege
Copy link
Author

cakruege commented Mar 23, 2024

local_machine_my_2_Veeam Backup Server Certificate.zip
pwd: mimikatz

It's a self signed cert created from Veeam
Used it only because of lazyness

"Standard" self signed cert works:
`
import-module pspki
New-SelfsignedCertificateEx -Subject "CN=localhost" -EKU "Serverauthentifizierung","ClientAuthentifizierung" -KeyUsage "KeyEncipherment, DigitalSignature" -SAN "dns:localhost" -StoreLocation LocalMachine -Exportable

`

Any idea regarding the speed?
I can watch the RDP tiles created on the screen

PS: Huge fan of the gateway

@Necrotyr
Copy link

Are you using the cert store for the gateway or do you have the cert in a file?

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

No branches or pull requests

3 participants