AnsweredAssumed Answered

How to enable the ssl comunication?

Question asked by yuribett on Dec 8, 2009
Latest reply on Dec 9, 2009 by yuribett

Hey guys,

 

I'm trying to enable de ssl port in my sparkweb to security comunications... In my openfire console, I've created the digital certificates and already marked the options "required" in the SSL config. My chat-settings is:

 

<chat-settings>
  <serverDomain>my-domain.com</serverDomain>
  <port>5222</port>
  <sslEnabled>true</sslEnabled> <!-- I've changed it, was false -->
  <sslPort>9091</sslPort> <!-- I've changed it too, was -1-->
</chat-settings>

 

is this the right configuration to security communications?

when I started de spark web, I recive the follow error:

 

org.xmlpull.v1.XmlPullParserException: only whitespace content allowed before start tag and not \u15 (position: START_DOCUMENT seen \u15... @1:1)
        at org.xmlpull.mxp1.MXParser.parseProlog(MXParser.java:1519)
        at org.xmlpull.mxp1.MXParser.nextImpl(MXParser.java:1395)
        at org.xmlpull.mxp1.MXParser.next(MXParser.java:1093)
        at org.jivesoftware.smack.PacketReader.parsePackets(PacketReader.java:419)
        at org.jivesoftware.smack.PacketReader.access$000(PacketReader.java:45)
        at org.jivesoftware.smack.PacketReader$1.run(PacketReader.java:77)

 

However, when I started de openfire, I recive this message (lintening the port 9091):

 

[my-server]# Openfire 3.6.1 [08/12/2009 15:55:32]
Administration console listening:
  http://my-domain.com:9090
  https://my-domain.com:9091
Starting Client Control Plugin
Starting Fastpath Server

 

where is the problem?

 

P.S.: Th comunication with Spark is normal, there is a security comunication.

 

Regards,

 

Yuri

Outcomes