Announcement

Collapse
No announcement yet.

Setup HTTPS for web management interface

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Setup HTTPS for web management interface

    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.

  • #2
    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>

    Comment

    Working...
    X