iOS to Node.js Backend SSL handshake failing -
i have created rest api node.js , express. trying connect backend secure connection using alamofire 3/https/ssl/tls. have ca signed certificate, 2048 bit key installed on server 'https' npm module. error server returns in xcode below: 1
when evaluate ssllabs says certificate signed , tls 1.2 / 1.1 available etc seen below. interestingly under simulates requests request record ios 9 (ats) - fails 'sever closed connection' seen in image below.
tls connection completed successfully2
ios 9 simulated request fails [3]
when use command:
nscurl --ats-diagnostics --verbose
everything passes except default ats secure connection , 3 tls exceptions seen below:
ats default secure connection failing[4]
3 tls exceptions failing[5]
i not sure else try far understand meet requirements ats :
- tls v1.2
- forward secrey (i not sure how test this)
- at least 2048 bit key -
when turn on cfnetworking logging in logfile points error code -1200 in cfnetwork/cfnetworkerrors.h has error reason 'the secure connection failed unknown reason.'
i @ lost try next, thanks. sorry let me post 2 links had remove images.
answer - had old version of node.js installed on ther server 0.12. updated v6 , handshake words great
Comments
Post a Comment