Secure SSL in OrbiterMicro

All Union Platform questions, comments, feature requests, and bug reports.

Secure SSL in OrbiterMicro

Postby annaraork1 » Mon 07 Dec 2015 16:04

Hi,

I am trying to call websocket orbiter.secureSocket(host,port) function through a deployed tomcat server

I have written the code in an HTML file and have called the secureSocket function and i am getting the following error

WebSocket connection to 'wss://domainname.com:8443/' failed: Error in connection establishment: net::ERR_SSL_WEAK_SERVER_EPHEMERAL_DH_KEY

Can you please help me fix this issue ASAP.

Regards,
Annarao
annaraork1
 
Posts: 4
Joined: Fri 24 Apr 2015 04:21

Re: Secure SSL in OrbiterMicro

Postby derek » Tue 08 Dec 2015 02:23

Just to be clear...you have a web page being served by Tomcat and that web page has orbiter code trying to make a SSL connection to a Union server?
derek
 
Posts: 68
Joined: Mon 17 Oct 2011 19:12

Re: Secure SSL in OrbiterMicro

Postby annaraork1 » Tue 08 Dec 2015 02:38

Yes, the webpage is hosted on Tomcat port 8080 and it has a signed certificate from Godaddy

Following is my union xml file where i have mentioned the gateways

<gateways>
<gateway id="PrimaryGateway" type="TCP">
<ip>mydomain</ip>
<port>9100</port>
<policy_file>policy.xml</policy_file>
<access_control_allow_origin>*</access_control_allow_origin>
</gateway>
<gateway id="SecureGateway" type="SecureTCP">
<ip>mydomain</ip>
<port>444</port>
<policy_file>policy.xml</policy_file>
<keystore_file>C:\path\websocket\websocket.keystore</keystore_file>
<keystore_password>password</keystore_password>
<access_control_allow_origin>*</access_control_allow_origin>
</gateway>
</gateways>
annaraork1
 
Posts: 4
Joined: Fri 24 Apr 2015 04:21


Return to Union Platform

Online

Users browsing this forum: No registered users and 2 guests