# configure Https Settings using Powershell

**URL:** <https://community.wowza.com/t/configure-https-settings-using-powershell/53781>\
**Category:** Wowza Streaming Engine\
**Created:** [August 9, 2019, 1:14pm UTC](https://community.wowza.com/t/configure-https-settings-using-powershell/53781 "2019-08-09T13:14:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashutosh\_kumar1](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@Ashutosh\_kumar1](https://community.wowza.com/u/Ashutosh_kumar1)\
**Post date:** [August 9, 2019, 1:14pm UTC](https://community.wowza.com/t/configure-https-settings-using-powershell/53781/1 "2019-08-09T13:14:30Z")

</div>

Hi Team,

In order to automate Https configuration of Wowza I am using Powershell to modify files like VHost.xml, Server.xml and Application.xml. I am sure that every setting is fine .Even I have every settings fine I am receiving errors like "

**Unable to load REST interface configuration from file /C:/Program Files (x86)/Wowza Media Systems/Wowza Streaming Engine 4.7.7/conf/Server.xml: org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog.|at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:257)|at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:339)|at com.wowza.wms.rest.ConfigBase.getDocumentFromFile(Unknown Source)|at com.wowza.wms.rest.RestProperties.a(Unknown Source)|at com.wowza.wms.rest.RestProperties.(Unknown Source)|**" . Even if I am repalcing the file content it’s not working . Is there any restriction of file modification using external Tools . Please help

---

<div class="post-metadata">

**Author:** ![Karel\_Boek](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/karel_boek/32/454_2.png) [@Karel\_Boek](https://community.wowza.com/u/Karel_Boek)\
**Post date:** [August 10, 2019, 8:15am UTC](https://community.wowza.com/t/configure-https-settings-using-powershell/53781/2 "2019-08-10T08:15:39Z")

</div>

Server.xml is XML-formatted and you can edit it with external tools; just remember to restart Wowza after making changes. Presumably your Server.xml doesn’t contain valid XML. You can open the file with Notepad and check the contents, or copy/paste it into an (online) XML validator.
