First I followed this http://underthehood.carwow.co.uk/httpsssl-in-your-local-rails-4-1-development-environment/ to make my rails app accept https requests, which works fine doing a GET from the browser.
The only thing I couldn't do was adding localhost.crt
to the system certificates (step 3 in my link). When I try dragging it, it asks for my password, but when I start typing, it's like my keyboard is disabled, I can't type anything.
But when I try accessing it from n iPhone 6s simulator (iOS 9), it doesn't work.
Error in the server:
ERROR OpenSSL::SSL::SSLError: SSL_accept returned=1 errno=0 state=error: no shared cipher
/Users/rodrigoruiz/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/openssl/ssl.rb:236:in `accept'
Error in the client (iPhone simulator):
Error Domain=NSURLErrorDomain Code=-1200 "An SSL error has occurred and a secure connection to the server cannot be made." UserInfo={_kCFStreamErrorCodeKey=-9824, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, NSUnderlyingError=0x7fd0dab15a80 {Error Domain=kCFErrorDomainCFNetwork Code=-1200 "(null)" UserInfo={_kCFStreamPropertySSLClientCertificateState=0, _kCFNetworkCFStreamSSLErrorOriginalValue=-9824, _kCFStreamErrorDomainKey=3, _kCFStreamErrorCodeKey=-9824}}, NSLocalizedDescription=An SSL error has occurred and a secure connection to the server cannot be made., NSErrorFailingURLKey=https://localhost:3000/login_with_facebook.json, NSErrorFailingURLStringKey=https://localhost:3000/login_with_facebook.json, _kCFStreamErrorDomainKey=3}
How do I solve this?