Sample Header Ad - 728x90

How should I modify the Qt5 source code if I want to add back SSLv3 support in the libqt5network5 module?

0 votes
1 answer
57 views
I am on an Intel x86_64 CPU architecture platform running a Debian Bullseye Linux distro. On that platform runs a custom application. This application is a 32-bit software running as a systemd service and has many dependencies, some of them being libraries from Qt5 v5.15.2 (such as libqt5network5 module) and openssl1.1. On the new versions of openssl and Qt5, SSLv3 protocol is deprecated. However, the custom application only supports SSLv3 protocol for network communication. I have added back SSLv3 support in openssl1.1 and whenever I try to use the following command:
# openssl s_client -connect :
I get a warning in the custom application journal logs:
::startServerEncryption Attempted to use an unsupported protocol
My goal now is to add back the support for SSLv3 protocol in the libqt5network module in order to remove that warning and have a proper connection. In addition, I need to have libqt5network5 module in a 32 bit architecture to be compatible with the custom application. The steps I have done so far are: I have downloaded Qt5 source code I tried to revert the commit (OpenSSL: drop support for SSLv2 and SSLv3, commit hash ID: 455951f59074d6457fd2d10720ac3cbdaa966076.) After many hours of battling with compilation and makefile errors, I have successfully built Qt5 libraries. I created a .deb package of Qt5 and installed it in the platform's root file system However, I keep getting the warning as if nothing has changed. I might have not reverted correctly the commit or there may be more things to do. I tried to modify the source code further but this dives me into more compilation errors. My question is what should I change in the Qt5 source code in order to achieve my goal? I've been racking my brain over this problem for 3 weeks now and can't find a solution. PS: Sorry if there is any confusion or lack of information in my question. I am ready to give you all the necessary information. PS-2: I know SSLv3 is deprecated for security reasons but it is a requirement and I cannot change that. Thank you for your time.
Asked by Chris Haddad (1 rep)
Aug 25, 2023, 10:13 AM
Last activity: Aug 25, 2023, 12:21 PM