【发布时间】:2022-11-10 22:48:46
【问题描述】:
我在 Windows 环境中尝试使用 IIS、Apache 和 Nginx 作为反向代理发布的文件。 除了在 linux ubuntu 20.04 中,所有工作都没有任何问题。 它给出以下错误:
Content root path: xxxxxxxxx fail: Microsoft.AspNetCore.Authentication.Negotiate.NegotiateHandler[5]
An exception occurred while processing the authentication request.
Interop+NetSecurityNative+GssApiException: GSSAPI operation failed with error - Unspecified GSS failure. Minor code may provide more information (Keytab FILE:/etc/krb5.keytab is nonexistent or empty).
我试过这个link 根本没有解决方案。 关注微软文档link。 有没有人尝试使用 Windows 身份验证在 linux 中托管 .Net 6.0? 它无需 windows 身份验证即可工作,但我需要 windows 身份验证,因为它是迁移的 .net 4.6 代码。 任何帮助和指示都会很棒。
笔记。 linux环境的新手。
【问题讨论】:
标签: c# linux .net-core .net-6.0 windows-authentication