I’m trying to implement XMPPBOSHConnection with Https
feature to Flex based application.
This is my code.( I hope this is correct code to use https feature)
xmppboshConnection.useAnonymousLogin
= false;
xmppboshConnection.username
= username;
xmppboshConnection.password
= password;
xmppboshConnection.server = server;
xmppboshConnection.secure = true;
xmppboshConnection.port = 8483;
But I’m getting following errors.
mx.messaging.messages::ErrorMessage)#0
body = (Object)#1
clientId = “DirectHTTPChannel0”
correlationId =
“FA8AD3BE-9E1E-9A85-E8CB-392CCA4B5DE4”
destination = “”
extendedData = (null)
faultCode = “Server.Error.Request”
faultDetail = “Error: [IOErrorEvent
type=“ioError” bubbles=false cancelable=false eventPhase=2
text=“Error #2032: Stream Error. URL: https://server:8483/http-bind/”].
URL: https://server:8483/http-bind/”
faultString = “HTTP request error”
headers = (Object)#2
messageId =
“088EE4A1-ED71-4983-E817-392CCD5854F3”
rootCause = (flash.events::IOErrorEvent)#3
bubbles = false
cancelable = false
currentTarget = (flash.net::URLLoader)#4
bytesLoaded = 0
bytesTotal = 0
data = (null)
dataFormat = "text"
eventPhase = 2
target = (flash.net::URLLoader)#4
text = "Error #2032: Stream Error.
URL: https://server:8483/http-bind/"
type = "ioError"
timestamp = 0
timeToLive = 0
If I chose http instead of https then my application works fine.
The Server Certificates are self signed. I wonder if these need to be signed by CA to fix my problem.
I appreciate if anyone can give me advice.
Thank you
Naoki