https://bugs.kde.org/show_bug.cgi?id=529163
Bug ID: 529163
Summary: Automatically generated TLS certificate should be
better
Classification: Applications
Product: systemsettings
Version First 6.8.3
Reported In:
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: kcm_krdpserver
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Target Milestone: ---
DESCRIPTION
Most clients will complain about the TLS cert generated automatically by Plasma
RDP server (including Plasma's client!).
The main reason is that it does not contain standard and expected X.509
extensions for a TLS server cert such as subjectAltName, keyUsage,
extendedKeyUsage. What is worse is that the current generated cert is a CA cert
with basicConstraints CA=True.
I think we could do much better by fixing the basicConstraints CA to False,
reducing the cert lifetime to 1 year, and using information available in Plasma
(such as the hostname, its IPs, etc.) to generate a tailor made cert.
STEPS TO REPRODUCE
1. Let RDP server generate automatically the certs
2. Try to connect with any RDP client
3. All clients will complain
OBSERVED RESULT
All clients will issue many complaints about the automatically generated cert.
This has nothing to do with being a self-signed certificate. A warning in that
case is expected, and the UI could be improved as well. For example, the
fingerprint of the generated certificate could be shown in the system settings,
so this could be shared with clients. But most of these errors come from the
fact that is not a valid TLS server cert.
EXPECTED RESULT
Clients should warned that it is a self-signed certificate. Normally, they will
show the cert information and the fingerprint. A user could verify that
information and the fingerprint and trust the certificate for future
connections. This mimics what we do with SSH using TOFU (Trust on First Use)
SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 6.8.3
KDE Frameworks Version: 6.32.0
Qt Version: 6.12.0
Kernel Version: 7.3.5-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 32 GiB of RAM (30.8 GiB usable)
Graphics Processor: Intel® Arc
Manufacturer: LENOVO
Product Name: 21KDS00600
System Version: ThinkPad X1 Carbon Gen 12
--
You are receiving this mail because:
You are watching all bug changes.