I am developing a web application which uses two servers, A and B. Both of these have recently been enabled for https encryption.

Server A is the main server, serving html/css etc and server B is a lightstreamer real time data server, serving real time data updates.

Before I enabled https on both servers, everything was working just fine, lightstreamer components were updating in the browser. However now, whilst the main server still works fine over https, the lightstreamer component has broken. The lightstreamer client can not seem to make an https connection to the lightstreamer server.

Below are the errors generated in Safari when the lightstreamer client tries to connect to the https enabled lightstreamer server which is running on the same host. Currently this application is in development so I need a development environment where I can run and test the application on the same host (Mac OSX Mavericks).

[Error] WebSocket network error: OSStatus Error -9807: Invalid certificate chain (localhost, line 0)

[Error] Failed to load resource: An SSL error has occurred and a secure connection to the server cannot be made. (create_session.js, line 0)

Any help would be greatly appreciated.
Thanks in advance.