Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SharePoint SE - SSL web applications are always created with hostheader #90

Open
PisuToSem opened this issue Sep 26, 2022 · 0 comments
Open

Comments

@PisuToSem
Copy link

When I install the SE edition, the web application on SSL is always set with the host header, even if I have it set to false in the XML configuration, because there is no check in the part of the code where the new SE commands are used:

else # Use method for a regular web app
{
Set-SPWebApplication -Identity $SSLSiteName -Zone Default -Port $SSLPort -SecureSocketsLayer -HostHeader $SSLHostHeader -Certificate $seCert
}

Check which is in the section for previous versions of SharePoint:

if (!([string]::IsNullOrEmpty($webApp.UseHostHeader)) -and $webApp.UseHostHeader -eq $false)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant