use TLS 1.0 instead of SSL 3.0 as apple no longer support SSL 3.0