My team would like to containerize our solution using Docker to host on a Linux machine.
The solution consists of two separate ASP.NET Core projects.
Project 1 doesn't require authentication so Anonymous Authentication is enabled.
Project 2 does require authentication. Windows Authentication is enabled and it also relies on using the Active Directory.
If the solution is containerized to be hosted on a Linux machine, will the Windows Authentication and Active Directory layers continue to function as expected in Project 2?
to use kerberos you will need install the kerberos client in the docker container. the docker container will also need to be registered with the dns server.
None
0 Points
1 Post
Docker Container (Linux) + Windows Authentication and Active Directory
Jul 14, 2020 08:39 PM|lealgamb|LINK
Hi,
My team would like to containerize our solution using Docker to host on a Linux machine.
The solution consists of two separate ASP.NET Core projects.
If the solution is containerized to be hosted on a Linux machine, will the Windows Authentication and Active Directory layers continue to function as expected in Project 2?
Thanks in advance for any help!
All-Star
58484 Points
15807 Posts
Re: Docker Container (Linux) + Windows Authentication and Active Directory
Jul 14, 2020 10:20 PM|bruce (sqlwork.com)|LINK
linux does not directly support windows authentication, you need to use kerberos.
to use kerberos you will need install the kerberos client in the docker container. the docker container will also need to be registered with the dns server.
https://docs.microsoft.com/en-us/aspnet/core/security/authentication/windowsauth?view=aspnetcore-3.0&tabs=visual-studio#kestrel