Hello,
these two error codes (-9806 and -9846, corresponding respectively to
errSSLClosedAbortand
errSSLBadRecordMac ) are reported on the Net for a wide range of issues related to SSL. Our advice is to double check everything is in place, in particular:
* check that a certificate is not missing from the certificate chain on the server keystore;
* check that all certificates are valid;
* if everything is in place and still does not work, try connecting with a device using a different iOS version (e.g. 7 instead of 8).
It may also be due to a
bug in an old version of the Java Virtual Machine: if you are running the server on a JVM anterior to 7u2 this could be the cause, and updating the JVM should solve the problem.
Let us know if after all this the problem should still persist.
Best regards,
Gianluca