Not able to connect Asterisk while trying with WSS connection

I am able to use asterisk while using with ws:// frequently. But unable to connect to asterisk server using wss.

I have a certificate authorized from GeoTrust which is working fine when I am using that with tomcat but unable to make it work with Asterisk.

I am getting below error in google chrome console when I am trying to use
conn = new WebSocket(“wss://myip:8088/ws”,“sip”);


can anyone help me to replace the self signed certificates with the GeoTrust certified certificates.

for wss check the option tlsbindaddr= ; address and port to bind to - default is bindaddr and port 8089.

You can also use openssl itself to connect and examine what could be going on with it:

openssl s_client -connect :


openssl s_client -connect

I have tried with below and it doesn’t work. Please let me know if I am doing something wrong.




openssl s_client -connect

After giving the above command got below result. Looks like there is a issue related to certificates. Can you please help me to install certificates to make wss work.

140199630690120:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:769:

no peer certificate available

No client certificate CA names sent

SSL handshake has read 7 bytes and written 249 bytes

New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE

Google suggests