I'm trying to set up TLS so that I can get websockets to work through the corporate proxy, but I am having issues.
I have added the tls section to the config.json as is shown here:
http://crossbar.io/docs/Secure-WebSocket-and-HTTPS/ to both my router config (just used the default template) and modified the hello config similarly (only the certificate section) and I am getting the following error:
2014-09-06 00:24:03+0000 [Controller 29341] Exception: encountered unknown attribute 'certificate' in listening endpoint TLS configuration
I'm not sure what I am doing wrong. :(
Version Info:
[mike@castellanus-lite hello]$ crossbar version
Crossbar.io software versions:
Crossbar.io    : 0.9.7-6
Autobahn       : 0.9.0
Twisted        : 14.0.0-EPollReactor
Python         : 2.7.5
UTF8 Validator : wsaccel-0.6.2
XOR Masker     : wsaccel-0.6.2
Here is my hello config.json:
{
  "controller": {
  },
  "workers": [
     {
        "type": "container",
        "options": {
           "pythonpath": [".."]
        },
        "components": [
           {
              "type": "class",
              "classname": "hello.hello.AppSession",
              "realm": "realm1",
              "transport": {
                 "type": "websocket",
                 "endpoint": {
                    "type": "tcp",
                    "host": "
noctilucent.me",
                    "port": 443,
                    "tls": {
                       "certificate": "server_cert.pem"
                    }
                 },
                 "url": "wss://
noctilucent.me:443/ws"
              }
           }
        ]
     }
  ]
}
Thanks for the help!
Mike