Project

General

Profile

How to enable bosh and WebSocket ssl port?

来恩 周
Added over 1 year ago

Hi, all:

When I clone the newest code of master branch, the BoshConnectionManager.java and WebSocketClientConnectionManager.java the ssl port is return null?

BoshConnectionManager.java


@Override

protected int[] getDefPlainPorts() {

    return PORTS;

}


@Override

protected int[] getDefSSLPorts() {

    return null;

}

WebSocketClientConnectionManager.java


@Override

protected int[] getDefPlainPorts() {

    return new int[] { 5290 };

}


@Override

protected int[] getDefSSLPorts() {

    return null;

}

Replies (1)

Added by Wojciech Kapcia TigaseTeam over 1 year ago

Configuration format has changed, revise http://docs.tigase.org/tigase-server/snapshot/Administration_Guide/html/#_example_configuration_file_in_dsl for more details. For example for WebSocket:

ws2w {
    connections () {
        '5290' () {
                 socket = ssl
              }
    }
}

    (1-1/1)