Forum: Installation

Post: Setup HTTPS for web management interface

Setup HTTPS for web management interface
superman
Aug 23, 2016
Is following configuration for deployment.xml correct? Cause it keep throwing error, i have followed the structure from https://docs.voltdb.com/UsingVoltDB/ConfigStructure.php

<httpd enabled="true">
<jsonapi enabled="true"/>
<https enabled="true">
<keystore path="xxxxx" password="xxx"/>
<truststore path="xxxxxx" password="xxxxx"/>
</https>
</httpd>


Error message below:
"ERROR [main] HOST: Error schema validating deployment.xml file. cvc-complex-type.2.4.a: Invalid content was found starting with element 'https'. One of '{partition-detection, admin-mode, heartbeat, snapshot, users, commandlog, systemsettings, security, dr, import}' is expected.
rmorgenstein
Aug 25, 2016
Hi,

I think you're missing the parent "deployment" element. Try this:

<?xml version="1.0"?>
<deployment>
<httpd enabled="true">
<jsonapi enabled="true"/>
<https enabled="true">
<keystore path="xxxxx" password="xxx"/>
<truststore path="xxxxxx" password="xxxxx"/>
</https>
</httpd>
</deployment>