Trust anchor error in ODK Collect

Hello,

I'm trying to connect ODK collect to my aggregate but I get the error
"Trust anchor for certification path not found". My SSL certificate was
issue by a certified company so I don't know what is wrong here.

Any idea is appreciated

1 Like

Hi there,

The problem is probably due to your Android device not having the
proper root certs.

If you have an older Android phone, one quick solution is to install a
GeoTrust cert with a EquiFax root on your server.

I've also had good luck using https://letsencrypt.org certs on the
server side. They are free, so I'd try that first.

Yaw

··· On Thu, Apr 27, 2017 at 4:06 AM, QLands Software wrote: > Hello, > > I'm trying to connect ODK collect to my aggregate but I get the error "Trust > anchor for certification path not found". My SSL certificate was issue by a > certified company so I don't know what is wrong here. > > Any idea is appreciated > > -- > -- > Post: opendatakit@googlegroups.com > Unsubscribe: opendatakit+unsubscribe@googlegroups.com > Options: http://groups.google.com/group/opendatakit?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "ODK Community" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to opendatakit+unsubscribe@googlegroups.com. > For more options, visit https://groups.google.com/d/optout.

Hello there!

I have deployed an ODK aggregate on a tomcat server (tomcat 8) at digitalOcean. Everything is working fine but I decided to use https to secure data transfer from my ODK collect to the ODK aggregate. So, I have configured a SSL/TSL on tomcat 8 using JKS format for my keystore. (I used keytool to generate the key)

Now, I can not get the form list, getting an error : Error Getting form list, CertPathValidationException: Trust anchor for certification path not found.

I am using ODK Collect : 1.13.2 and I am able to access aggregate with my android browser using https.

Any idea?

Self-signed certificates aren't really supported on Android. Use https://letsencrypt.org.

Thank you very much @yanokwa, using let's encrypt solved my problem.