-
April 17th, 2007, 11:37 PM
#1
Trying to run LS through Https / SSL
Hi,
I am trying to run lightstreamer over a ssl connection and am running into some issues. I am currently using a trial version of Vivace. I changed the config file to allow ssl on port 8443. I went through the steps to create a self signed certificate and keystore. Changed the client end to connect on port 8443. (I looked for something to tell the client that it was supposed to use ssl protocol, but could not find any thing..)
When I attempt to connect to the LS server I get the following error:
17-Apr-07 16:44:28,468 |ERROR|LightstreamerLogger.connections |SSL NIO ACCEPT SELECTOR |Handshake error
javax.net.ssl.SSLException: Unrecognized SSL message, plaintext connection?
at com.sun.net.ssl.internal.ssl.EngineInputRecord.byt esInCompletePacket(EngineInputRecord.java:152)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.readNet Record(SSLEngineImpl.java:759)
at com.sun.net.ssl.internal.ssl.SSLEngineImpl.unwrap( SSLEngineImpl.java:674)
at javax.net.ssl.SSLEngine.unwrap(SSLEngine.java:566)
at com.lightstreamer.c.a.h.a(h.java)
at com.lightstreamer.c.a.k.c(k.java)
at com.lightstreamer.c.a.k.b(k.java)
at com.lightstreamer.c.a.m.run(m.java)
All help is appreciated!
-
April 18th, 2007, 11:40 AM
#2
The protocol used to connect to Lightstreamer Server is always the same used to download the Master Push-Page. So if the Master Push-Page is downloaded through HTTP, then HTTP will be used for all the connections to Lightstreamer Server. It the Master Push-Page is downloaded through HTTPS, all the connections to Lightstreamer Server will use HTTPS.
So in order to activate HTTPS connections, you need to download your Master Push-Page through HTTPS.
-
April 18th, 2007, 03:40 PM
#3
Originally Posted by
Alex
So in order to activate HTTPS connections, you need to download your Master Push-Page through HTTPS.
Am I correct in assuming that the master page is downloaded when the site is first loaded? So if the site were to be accessed via https, then lightstreamer would connect via https?
I just checked and it is working just fine now. I wasn't accessing the site via https, but I was still trying to connect LS over a ssl port.
Thanks for the clarification!
Similar Threads
-
By wwatts in forum Adapter SDKs
Replies: 1
Last Post: May 2nd, 2012, 09:55 AM
-
By ddhanis in forum General
Replies: 3
Last Post: December 15th, 2009, 09:45 AM
-
By mahen in forum Client SDKs
Replies: 2
Last Post: February 20th, 2009, 01:50 PM
-
By venkihere in forum Client SDKs
Replies: 13
Last Post: October 22nd, 2007, 05:01 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 09:10 AM.
Bookmarks