Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1686917 - rdesktop fails with "ERROR: Failed to extract public key from certificate"
Summary: rdesktop fails with "ERROR: Failed to extract public key from certificate"
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: rdesktop
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Jon Disnard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-08 16:25 UTC by Anders Blomdell
Modified: 2019-03-23 12:09 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
Rework of commit a3dfceefc2c729243b71270e3f503fa2dd57ec8d for v1.8.4 (deleted)
2019-03-08 18:51 UTC, Anders Blomdell
no flags Details | Diff

Description Anders Blomdell 2019-03-08 16:25:49 UTC
Description of problem:

When connecting to at least one server, rdesktop-1.8.4-2.fc29.x86_64
fails with "ERROR: Failed to extract public key from certificate"

Version-Release number of selected component (if applicable):

rdesktop-1.8.4-2.fc29.x86_64

How reproducible:

Always when using that server.

Steps to Reproduce:
1. rdesktop bad.server.address

Actual results:

Failed to negotiate protocol, retrying with plain RDP.
ERROR: Failed to extract public key from certificate
ERROR: recv: Connection reset by peer

Expected results:

This is what current master (a4bdfcfe76b4d39c2d6fd7c8c5be4af90dd4b82d) gives

Protocol(warning): Protocol negotiation failed with reason: SSL not allowed by server
Retrying with plain RDP.


Additional info:

rdesktop-1.8.3-3.fc24.x86_64 also works

the fix that is needed seems to be a3dfceefc2c729243b71270e3f503fa2dd57ec8d, but it does not apply cleanly to 1.8.4

Comment 1 Anders Blomdell 2019-03-08 17:06:48 UTC
Unfortunately  a4bdfcfe76b4d39c2d6fd7c8c5be4af90dd4b82d always prompts for password, so in 
order to put it in an .desktop file, the following workaround is needed:

rdesktop -p '' bad.server.address

Comment 2 Anders Blomdell 2019-03-08 18:51:18 UTC
Created attachment 1542204 [details]
Rework of commit a3dfceefc2c729243b71270e3f503fa2dd57ec8d for v1.8.4


Note You need to log in before you can comment on or make changes to this bug.