NodeJS SSL issue

#1

We are having a problem with NodeJS & autobahn connecting via wss:// to our crossbar router.

I’m able to connect via html and javascript in the browser just fine, so Im certain the ssl and router is configured properly,

however when I try to connect from NodeJS I get unreachable as the reason for not connecting.

Are there any specific server requirements or config changes required to connect to a crossbar router from node using ssl?

0 Likes

#2

For anyone else experiencing this problem, the problem was a cheap SSL certificate, we had to concatenate the intermediate bundle with the cert

···

On Wednesday, July 29, 2015 at 9:37:55 PM UTC-7, Greg Keys wrote:

We are having a problem with NodeJS & autobahn connecting via wss:// to our crossbar router.

I’m able to connect via html and javascript in the browser just fine, so Im certain the ssl and router is configured properly,

however when I try to connect from NodeJS I get unreachable as the reason for not connecting.

Are there any specific server requirements or config changes required to connect to a crossbar router from node using ssl?

0 Likes

#3

Greg,

good to hear you got it working.

For anyone else experiencing this problem, the problem was a cheap SSL
certificate, we had to concatenate the intermediate bundle with the cert

Ah, yes. we have that in the docs described btw: http://crossbar.io/docs/Secure-WebSocket-and-HTTPS/#using-commercial-certificates

/Tobias

···

Am 18.08.2015 um 08:37 schrieb Greg Keys:

On Wednesday, July 29, 2015 at 9:37:55 PM UTC-7, Greg Keys wrote:

    We are having a problem with NodeJS & autobahn connecting via wss://
    to our crossbar router.

    I'm able to connect via html and javascript in the browser just
    fine, so Im certain the ssl and router is configured properly,
    however when I try to connect from NodeJS I get unreachable as the
    reason for not connecting.

    Are there any specific server requirements or config changes
    required to connect to a crossbar router from node using ssl?

--
You received this message because you are subscribed to the Google
Groups "Autobahn" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to autobahnws+...@googlegroups.com
<mailto:autobahnws+...@googlegroups.com>.
To post to this group, send email to autob...@googlegroups.com
<mailto:autob...@googlegroups.com>.
To view this discussion on the web visit
https://groups.google.com/d/msgid/autobahnws/52761cb1-5749-428f-ae45-3297f10bad5f%40googlegroups.com
<https://groups.google.com/d/msgid/autobahnws/52761cb1-5749-428f-ae45-3297f10bad5f%40googlegroups.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

0 Likes