Kerberos connection using HTTP Client

后端 未结 3 1847
猫巷女王i
猫巷女王i 2021-02-06 08:27

I\'m writing HTTP connection with Kerberos authentication. I have \"HTTP/1.1 401 Unauthorized\". Could you recommend me what I should check? I think there\'s somethink trick, bu

3条回答
  •  终归单人心
    2021-02-06 08:53

    I had the same problem and just found your post. I bookmarked it so I can post an answer when I fixed it. I post a link to my question where someone answered it, so if someone finds this via Google they find the answer:

    HttpClient has problem creating the SPN for the AD when the URL has a port.

    See my question + answer here: HttpClient check Kerberos secured webpage. NTLM login didn't work

提交回复
热议问题