Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. qt6.7.2 network get "The credentials were not recognized"

qt6.7.2 network get "The credentials were not recognized"

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 310 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    daijc12
    wrote on last edited by
    #1

    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.
    IMG20240903-115053386.png

    1 Reply Last reply
    0
    • J Offline
      J Offline
      james598grose
      wrote on last edited by
      #2

      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.

      1 Reply Last reply
      0
      • D Offline
        D Offline
        daijc12
        wrote on last edited by
        #3

        Thank you for your reply.I will filing a bug report with the Qt project.

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved