objective c - iOS 9 ATS SSL error with supporting server -
i installed xcode 7 , tried running app under ios 9. i'm getting infamous error: connection failed! error - -1200 ssl error has occurred , secure connection server cannot made.
thing server support tlsv1.2 , i'm using nsurlsession
.
what problem then?
apple has released full requirements list app transport security.
turned out working tls v1.2 missing of other requirements.
here's full check list:
- tls requires @ least version 1.2.
- connection ciphers limited provide forward secrecy (see below list of ciphers.)
- the service requires certificate using @ least sha256 fingerprint either 2048 bit or greater rsa key, or 256bit or greater elliptic-curve (ecc) key.
- invalid certificates result in hard failure , no connection.
the accepted ciphers are:
tls_ecdhe_ecdsa_with_aes_256_gcm_sha384 tls_ecdhe_ecdsa_with_aes_128_gcm_sha256 tls_ecdhe_ecdsa_with_aes_256_cbc_sha384 tls_ecdhe_ecdsa_with_aes_256_cbc_sha tls_ecdhe_ecdsa_with_aes_128_cbc_sha256 tls_ecdhe_ecdsa_with_aes_128_cbc_sha tls_ecdhe_rsa_with_aes_256_gcm_sha384 tls_ecdhe_rsa_with_aes_128_gcm_sha256 tls_ecdhe_rsa_with_aes_256_cbc_sha384 tls_ecdhe_rsa_with_aes_128_cbc_sha256 tls_ecdhe_rsa_with_aes_128_cbc_sha
Comments
Post a Comment