其他分享
首页 > 其他分享> > android-发生SSL错误,无法仅在ios上建立与服务器的安全连接

android-发生SSL错误,无法仅在ios上建立与服务器的安全连接

作者:互联网

我有一个正在运行的React Native应用程序,以Ruby On Rails Server作为后端,我正在使用let’sencrypt来获得SSL证书,并且该应用程序在WIFI上的android和ios上运行良好,但仅在某些操作符的ios上运行得到

An SSL error has occurred and a secure connection to the server cannot
be made

但是在其他移动网络上,该应用程序运行正常,我已经搜索了很多问题,但是仍然不知道如何解决该问题?我认为操作符正在阻止请求,但在android上运行正常.关于可能是什么原因的任何想法?

解决方法:

我终于找到了该解决方案,希望对您有所帮助,该问题出在nginx配置中,已通过将以下代码添加到nginx.config文件中来解决.

  ssl_protocols       TLSv1.2;
  ssl_prefer_server_ciphers on;
  ssl_ciphers EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:!MD5;
  ssl_session_cache shared:SSL:20m;
  ssl_session_timeout 10m;

标签:ssl,ios,ruby-on-rails,android,lets-encrypt
来源: https://codeday.me/bug/20191110/2014057.html