WSS Socket Configuration

Home » Asterisk Users » WSS Socket Configuration
Asterisk Users 2 Comments

Hi,

I have a working WebRTC/SipJS+Asterisk(13.0.1) setup using ws sockets. Now I wanted to switch to wss to have encryption, but cannot find the required configuration parameters. Does Asterisk support wss sockets? How can I configure it?

Thanks, Alexej

2 thoughts on - WSS Socket Configuration

  • Hi Alexey,

    This is what works for me:
    [http.conf]:

    tlsenable=yes ; enable tls – default no. tlsbindaddr4.x.y.z:8089 ; address and port to bind to – default is bindaddr and port 8089. tlscertfile=/etc/asterisk/keys/mycert.pem ; path to the certificate file (*.pem) only. tlsprivatekey=/etc/asterisk/keys/mycert.pem ; path to private key file
    (*.pem) only.

    Date: Tue, 13 Jan 2015 10:02:08 +0000
    From: Alexej Starschenko
    To: “asterisk-users@lists.digium.com”
    Subject: [asterisk-users] WSS Socket Configuration Message-ID:
    <46B08B12850FEF43BF479468A4002A57829D17@SZ-ORG-APP001.sabienzia.int>
    Content-Type: text/plain; charset=”us-ascii”

    Hi, I have a working WebRTC/SipJS+Asterisk(13.0.1) setup using ws sockets. Now I wanted to switch to wss to have encryption, but cannot find the required configuration parameters. Does Asterisk support wss sockets? How can I configure it? Thanks, Alexej

  • Hi Kirill,

    Thanks for the suggested configuration. I will give it a try. For now I have setup a websocket proxy to bycome the configuration problem.

    Regards, Alexej

    —–Original Message—