SSL cert "err_cert_authority_invalid" on mobile chrome only SSL cert "err_cert_authority_invalid" on mobile chrome only google-chrome google-chrome

SSL cert "err_cert_authority_invalid" on mobile chrome only


I just spent the morning dealing with this. The problem wasn't that I had a certificate missing. It was that I had an extra.

I started out with my ssl.conf containing my server key and three files provided by my SSL certificate authority:

#   Server Certificate:SSLCertificateFile /etc/pki/tls/certs/myserver.cer#   Server Private Key:SSLCertificateKeyFile /etc/pki/tls/private/myserver.key#   Server Certificate Chain:SSLCertificateChainFile /etc/pki/tls/certs/AddTrustExternalCARoot.pem#   Certificate Authority (CA):SSLCACertificateFile /etc/pki/tls/certs/InCommonServerCA.pem

It worked fine on desktops, but Chrome on Android gave me err_cert_authority_invalid

A lot of headaches, searching and poor documentation later, I figured out that it was the Server Certificate Chain:

SSLCertificateChainFile /etc/pki/tls/certs/AddTrustExternalCARoot.pem

That was creating a second certificate chain which was incomplete. I commented out that line, leaving me with

#   Server Certificate:SSLCertificateFile /etc/pki/tls/certs/myserver.cer#   Server Private Key:SSLCertificateKeyFile /etc/pki/tls/private/myserver.key#   Certificate Authority (CA):SSLCACertificateFile /etc/pki/tls/certs/InCommonServerCA.pem

and now it's working on Android again. This was on Linux running Apache 2.2.


I had this same problem while hosting a web site via Parse and using a Comodo SSL cert resold by NameCheap.

You will receive two cert files inside of a zip folder:www_yourdomain_com.ca-bundlewww_yourdomain_com.crt

You can only upload one file to Parse:Parse SSL Cert Input Box

In terminal combine the two files using:

cat www_yourdomain_com.crt www_yourdomain_com.ca-bundle > www_yourdomain_com_combine.crt

Then upload to Parse. This should fix the issue with Android Chrome and Firefox browsers. You can verify that it worked by testing it at https://www.sslchecker.com/sslchecker


For those having this problem on IIS servers.

Explanation: sometimes certificates carry an URL of an intermediate certificate instead of the actual certificate. Desktop browsers can DOWNLOAD the missing intermediate certificate using this URL. But older mobile browsers are unable to do that. So they throw this warning.

You need to

1) make sure all intermediate certificates are served by the server

2) disable unneeded certification paths in IIS - Under "Trusted Root Certification Authorities", you need to "disable all purposes" for the certificate that triggers the download.

PS. my colleague has wrote a blog post with more detailed steps: https://www.jitbit.com/maxblog/21-errcertauthorityinvalid-on-android-and-iis/