Office Web Apps configuration with and w/o SSL

Windows Server 2012 Configure Roles

1) Open PowerShell as Administrator and execute the following commands to configure the server

Import-Module ServerManager
Add-WindowsFeature Web-Server,Web-Mgmt-Tools,Web-Mgmt-Console,Web-WebServer,Web-Common-Http,Web-Default-Doc,Web-Static-Content,Web-Performance,Web-Stat-Compression,Web-Dyn-Compression,Web-Security,Web-Filtering,Web-Windows-Auth,Web-App-Dev,Web-Net-Ext45,Web-Asp-Net45,Web-ISAPI-Ext,Web-ISAPI-Filter,Web-Includes,InkandHandwritingServices

2) Install Office Web Apps using setup wizard.

3)Run the below commands on OWA server

w/o SSL (http)

New-OfficeWebAppsFarm -InternalURL “http://txdal11epapts02” -ExternalURL “http://OWAServer.contoso.com” -AllowHttp -EditingEnabled -ClipartEnabled -TranslationEnabled -Verbose

SSL (https)

New-OfficeWebAppsFarm -InternalURL “https://txdal11epapts02” -ExternalURL “https://OWAServer.contoso.com”  -EditingEnabled -ClipartEnabled -TranslationEnabled -Verbose

 

4) Run the below powershell commands on the SharePoint server

w/o SSL (http)

New-SPWOPIBinding -ServerName “office1.contoso.com” -AllowHTTP

Set-SPWOPIZone –zone “internal-http”

 

Run the PowerShell command below to enable OAuth over HTTP.
$OWAC = (get-spsecuritytokenserviceconfig)

$OWAC.allowoauthoverhttp = $true

$OWAC.update()

 

SSL (https)

New-SPWOPIBinding -ServerName “office1.contoso.com”

Set-SPWOPIZone –zone “external-https”

 

Leave a Reply

Your email address will not be published. Required fields are marked *