qt6.7.2 network get "The credentials were not recognized"
-
https://forum.qt.io/topic/151961/qt6-6-network-get-the-credentials-were-not-recognized?lang=zh-CN
I have a same problem.If i use openssl instead of schannel,the problem can be solved.But i think it is bug for qt,it should be solve in schannel.
I use http example code,run in win10,which is first installed,no patched installed,it happen.The code works fine in my compiled environment.
I find the problem code in qtls_schannel.cpp:1179
the function AcquireCredentialsHandle return SEC_E_UNKNOWN_CREDENTIALS.
But it work fine in qt6.2.4.There are differences between the two codes.I don't know which change caused the problem.
-
Hello,
The issue you're experiencing with Qt's schannel implementation on Windows 10 seems to be related to a change in the Qt codebase between versions 6.2.4 and the current version you're using.
The error SEC_E_UNKNOWN_CREDENTIALS from AcquireCredentialsHandle suggests a problem with the credentials or certificate being used.
To troubleshoot, you can try:
Comparing the changes in qtls_schannel.cpp between the two Qt versions to identify the specific change causing the issue.
Verifying the certificate and credentials being used in your application.
Checking for any Windows updates or security patches that might be affecting the schannel implementation.
If you're unable to resolve the issue, consider filing a bug report with the Qt project, providing detailed information about your environment, code, and the differences between the two Qt versions.