>https://<FS-IP>:<WSS-port>
I did this, also we have created our own wss.pem
Freeswitch logs do not show anything even at debug level 10.

So it seems to be a ssl connection problem.
openssl1.0.1e is installed and Freeswitch was compiled against it beginning with ./bootsrap
Freeswitch was checked out today, so it is up-to-date.
Jssip console log shows:
JsSIP | TRANSPORT | connecting to WebSocket wss://mydomain.com:7443 jssip-devel.js:556
JsSIP | TRANSPORT | WebSocket connection error: [object Event] jssip-devel.js:717
JsSIP | TRANSPORT | WebSocket disconnected (code: 1006) jssip-devel.js:611
JsSIP | TRANSPORT | WebSocket abrupt disconnection jssip-devel.js:614
JsSIP | UA | transport wss://mydomain.com:7443 failed | connection state set to 2 jssip-devel.js:5292
JsSIP | EVENT EMITTER | emitting event disconnected jssip-devel.js:187
JsSIP | UA | next connection attempt in 12 seconds

I get this error both on Chromium and Firefox.

Best regards
Peter



On 09/04/13 19:28, Muhammad Shahzad wrote:
If you are using self-signed certificates, then you need to add exception for them in your web browser, The easiest way to do it is, open below URL in your web browser and add exception for SSL certificate when prompted,

https://<FS-IP>:<WSS-port>

Then JSSIP will work fine.

Thank you.




On Wed, Sep 4, 2013 at 7:12 PM, Anthony Minessale <anthony.minessale@gmail.com> wrote:
Try making your own wss.pem that is a valid http cert key pair.



On Wed, Sep 4, 2013 at 12:05 PM, Peter Steinbach <lists@telefaks.de> wrote:
I am trying the Jssip demo with freeswitch and it works nicely with jssip 0.3.0 and the following configuration:
     ws_servers: 'ws://my_domain.com:8088' (My ws port is on 8088)

However this only works with 'ws' but not with secure 'wss'.
  • In the log I can see that freeswitch sets wss-binding[:7443]
  • wss.pem is also present in the certs directory
But with the config:
     ws_servers: 'wss://my_domain.com:7443'
I do not even get a connection and I receive a 1006 error.

Anybody has a working wss connection with Jssip and can share his config with me?


-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
mailto:lists (att) telefaks.de
Internet: www.telefaks.de


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
googletalk:conf+888@conference.freeswitch.org
pstn:+19193869900

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




--
Mit freundlichen Grüßen
Muhammad Shahzad
-----------------------------------
CISCO Rich Media Communication Specialist (CRMCS)
CISCO Certified Network Associate (CCNA)
Cell: +49 176 99 83 10 85
MSN: shari_786pk@hotmail.com
Email: shaheryarkh@googlemail.com


_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org


-- 
With kind regards
Peter Steinbach 

Telefaks Services GmbH
mailto:lists (att) telefaks.de
Internet: www.telefaks.de