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

My domain is:

My web server is (include version): Ruby On rails ( nginx )

The operating system my web server runs on is (include version): Ubuntu 16.04

I can login to a root shell on my machine (yes or no, or I don’t know): yes

when i try to connect to api on my server on iOS on a certain carrier i can’t and got this error

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

Your server has a secure connection and is fine. I would try making sure that your API is using the right SSL files.
You are also using weak DH parameters, that could also be why.

How can i make sure that my apis using the right ssl file ?!
how to add DH params.

one note, app is working fine on android & some iOS devices. will the above help ?!

What OS is it running?

I’m using Ubuntu 16.04

your configurations are fine

a good tool to check compatibility is here:

I am going to narrow this down to a device issue as most of the common apple clients are supported with your configuration.

As @Aidan said you should review your DH configurations. A guide to DH parameters is here:

READ CAREFULLY and test before deploying in production


the issue was with nginx configuration , fixing by adding the following code to nginx.config

  ssl_protocols       TLSv1.2;
  ssl_prefer_server_ciphers on;
  ssl_session_cache shared:SSL:20m;
  ssl_session_timeout 10m;

Thank you for showing him, I was extremely busy and forgot to respond.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.