HTTP.Context System Variables inside Container

0

I’m migrating two legacy applications to docker container to execute in ECS. I have the applications in containers and successfully executing. The issue I’m working through now is that both rely on the value of Request.ServerVariables(“REMOTE_USER”) to determine if the current user has access to the application.

When executing inside the container this value is returned as empty string or null. I've tried a few different variables, methods to obtain this value to no avail.

Is there a method to making this value available within the container? I’ve searched online and have come up empty.

ntxarch
asked 4 years ago165 views
1 Answer
0

Solution:
Working with AWS tech support, I found that the SPN for the GMSA account must match the URL of the website. This can be done for testing by adding an entry in the local hosts file pointing the SPN to the IP of the container host, EC2 instance IP.
This configuraiton allows the container, running on a domain joined host, to access the gmsa credential and read from the system variables, domain and access network resources.

ntxarch
answered 4 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions