windows-server-2016

Kerberos Double Hop Delegation with ASP.NET Core (4.5.2)

一曲冷凌霜 提交于 2019-12-10 23:57:12
问题 Our dev, test and production environments all have similar setups using windows authentication and separate VMs for IIS 10 server and SQL Server 2016. Both VMs running Windows server 2016. All that remains is solving the double hop issue. I haven't been able to find up-to-date how-to guides with steps needed to get this working, any help / recent references would be appreciated? Here are some outdated how-to / checklists: https://msdn.microsoft.com/en-us/library/ms998355.aspx# https://blogs

Port mapping in Windows Server 2016 - Docker

青春壹個敷衍的年華 提交于 2019-12-10 22:29:25
问题 I have been trying to setup Docker in Windows Server 2016 in an AWS instance to run an IIS program. From this question, Cannot access an IIS container from browser - Docker, IIS has been setup inside a container and it is accessible from the host without port mapping. However, if I want to allow other users from the Internet/Intranet to access the website, after Google-ing it, I guess we do need port mapping... The error I have encountered in port mapping is given in the above question so...

Add D: Drive to Windows Server 2016 Docker Images

ぃ、小莉子 提交于 2019-12-10 21:37:34
问题 How do I add a D: drive to the microsoft/windowsservercore base image? My Windows Server 2016 server has a D: drive. The server is an AWS instance. This is with native Docker installed and not the "Docker for Windows" that has been around for a while. 回答1: We got it to work. Essentially, we're adding a symbolic link in the registry. Add this to the dockerfile: RUN powershell -NoProfile -Command \ New-Item -ItemType directory -Path C:\drived ; \ New-ItemProperty -Path 'HKLM:\SYSTEM

Ignoring Self-Signed Certificates from Powershell Invoke-RestMethod doesn't work (it's changed again…)

十年热恋 提交于 2019-12-10 13:35:25
问题 After using standard solutions for ignoring certificate verification, Invoke-RestMethod is returning: Invoke-RestMethod : A system error occurred and has been logged. Please try again later or contact your administrator. I just noticed this failure today, so I think it has something to do with a Powershell update. By "standard solutions" I mean: [System.Net.ServicePointManager]::ServerCertificateValidationCallback = { $true } which stopped working a few months ago, and setting the callback

Windows Server 2016 IIS hosted website failed to load dll on a remote file share with remote server's user/password

时光怂恿深爱的人放手 提交于 2019-12-08 09:12:10
问题 An extended topic of this question: Windows Server 2016 IIS hosted website failed to load dll on a remote file share on AlibabaCloud I have tried to put the IIS website on a remote file share on Windows Server 2012/2016 machine B, and load this IIS website on a Windows Server 2016 machine A. A can access B's file share. However, if A's IIS loads B's file share's website with B's administrator name and password, A's IIS fails to load dlls of the website. It shows access denied when loading

Windows Server 2016 IIS hosted website failed to load dll on a remote file share on AlibabaCloud

六月ゝ 毕业季﹏ 提交于 2019-12-08 06:46:05
问题 I hit an issue on IIS and it bothers me for many days. After I searched all over the web, I still cannot find the right answer so it is time to post on StackOverflow to seek help. I created a Windows Server 2016 VM on Alibaba Cloud and an SMB file share on Alibaba Cloud. Then I followed this instruction (https://github.com/AlibabaCloudDocs/nas/blob/master/intl.en-US/Best%20Practices/Use%20Windows%20IIS%20and%20NAS%20to%20provide%20Web%20and%20FTP%20services.md) to put my website on the file

ADFS + OpenID Connect email claim and external ADFS

你离开我真会死。 提交于 2019-12-07 11:35:05
问题 I'm having difficulties setting up ADFS with OpenID Connect on Windows Server 2016. I've setup AD for testing and I can successfully authenticate, however the email claim is not in the id token. Additionally I've setup an external ADFS in the Claims Provider trust. It is displayed as an option, however upon logging in I get the error: MSIS9642: The request cannot be completed because an id token is required but the server was unable to construct an id token for the current user. Anybody have

How to disable HTTP/2 on IIS of Windows Server 2016

邮差的信 提交于 2019-12-06 05:54:08
问题 We are running into some issues that seem to be affected by http2 and I want to turn it off temporarily to troubleshoot. I tried the registry keys outlined in this question but that did not help with Windows Server 2016. How to disable HTTP/2 on IIS of Windows 10 回答1: 1) start -> regedit 2) Navigate to the folder/path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters 3) Under the Parameters folder, right-click the white-space, add 2 new DWORD (32-bit) values:

How to disable HTTP/2 on IIS of Windows Server 2016

痴心易碎 提交于 2019-12-04 10:26:33
We are running into some issues that seem to be affected by http2 and I want to turn it off temporarily to troubleshoot. I tried the registry keys outlined in this question but that did not help with Windows Server 2016. How to disable HTTP/2 on IIS of Windows 10 Zanas Tumasonis 1) start -> regedit 2) Navigate to the folder/path: HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\HTTP\Parameters 3) Under the Parameters folder, right-click the white-space, add 2 new DWORD (32-bit) values: EnableHttp2Tls and EnableHttp2Cleartext 4) Ensure both new values have been set to 0 (disabled) by right

Windows containers 2016 run powershell as a domain user

会有一股神秘感。 提交于 2019-12-04 07:50:44
I want to be able to either run a Windows Container as a domain user Example (no idea on how to run as a different user) docker run -it microsoft/nanoserver powershell Or alternatively being able to run powershell script in the container as a domain user. I would have to pass in -e to docker run .. but that is ok. The reason for this is to run something like (but the application uses domain resources like SQL and file shares) dotnet app.dll the answer to your question eventually found it's way to the container docs and is brand new. please refer to this link until it will be published in the