i have a issue with the SSL connection. When i try to initiate a connection to the openfire server the connection needs about 5-7 seconds to be established. When i turn off SSL, it only needs 1 second.
I use a self signed certifcate and i’m wondering if this could be the reason?
I’am using a very strong server, so it think its not a performance problem.
Do you mean self-signed certificate generated by Openfire or your own certificate? I have no problem with Openfire’s own self-signed certificates. Login in Spark a few seconds. Maybe it is a bit longer than plain text, but that’s understandable (enconding, decoding, etc.).
I haven’t used signed certificate with Openfire, so can’t say for sure, but i don’t think it should be faster or slower. Something else is happening in your setup. Maybe there is something related in the logs.
I purchased a signed certificate and made my login faster about 1,9 seconds, without any modifications at my login code.(The client needs definitly longer to validate the self signed certificate on his own, than asking the CA)
Now SASL procedure needs to be optimized and 2 seconds for login and online state could be possible.