Important: Please read the Qt Code of Conduct -

QSslSocket with NULL-SHA256 cipher does not work

  • I am trying to set up a secure connection using QSslSockets with the NULL-SHA256 cipher. Unfortunately the cipher is not listed as one of the supported ciphers, probably because the underlying OpenSSL implementation does not list it by default. However it is supported by OpenSSL and can be listed using the command: ciphers -v NULL.

    Is there a way to force Qt to accept the NULL-SHA cipher?

  • No. You can only use the supported ciphers.

    I guess default Qt libs has disabled this cipher in OpenSSL.

    You can try to recompile OpenSSL and Qt.

Log in to reply