Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NET::ERR_CERT_AUTHORITY_INVALID https in red color

When i try to access my ruby site from android mobile device i get following error, can anyone help me solving this problem.

https error

With following added error NET::ERR_CERT_AUTHORITY_INVALID

like image 931
Erica Avatar asked Dec 10 '15 09:12

Erica


People also ask

Why am I getting certificate errors on all websites?

You get this error primarily when your web browser cannot verify a website's SSL certificate. The website is a potential risk; hence, the warning ensures that your privacy and security are preserved. Many users reported that they could not access their favorite websites after the error message.

Why does Chrome say my certificate is invalid?

Chrome displays these errors if some security codes are missing and the website is running with an outdated SHA algorithm or system's TLS version is outdated. Know how to solve This web page is not available and ERR_SSL_VERSION_OR_CIPHER_MISMATCH errors.


2 Answers

You need to add intermediate certificate file in your nginx configuration. Here is the powerfull tool by zakjan to obtain the intermediate certificate files using your main certificate, Store obtained crt file to your server and mentioned it in the nginx.conf in ssl_certificate

like image 54
Bibek Sharma Avatar answered Sep 21 '22 13:09

Bibek Sharma


If it's not self-signed then one of certificates in your ssl certificate chain may use vulnerable encryption algorithms like SHA-1. Check what encryption each certificate uses (you may do it on PC). Probably you will need to find ssl registrator which does not uses old encryption algorithms. you may use https://www.ssllabs.com/ssltest/ to check if your site has issues with SSL configuration or certificate itself.

In fact i just checked it and here's result http://i.imgur.com/X9dPX8Q.jpg . The vulnerabilities it output could be the reason why mobile chrome is not trusting the certificate and shows you warning.

Another possible issue is man in the middle attack on your device. What network are you using? is it the same as your PC network? if not, it could be mitm attack on you.

like image 33
Fedcomp Avatar answered Sep 22 '22 13:09

Fedcomp