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