Dear All,
I have a CSWeb app which is working on few mobile phones without any problem. My CSWeb is hosted on godaddy with SSL (letsencrypt) properly configured.
But, in one mobile "Redmi Note 4" with Android 7 version which was bought in 2017, I am getting the following error :
"Error connecting to sync server: javax.net.ssl.SSLHandshakeException: java.security.cert.CertPathValidatorException: Trust anchor for certification path not found.."
Please help, how I can rectify the problem!
Thanking you all in advance!
Parth Saha
Error connecting to sync server: javax.net.ssl.SSLHandshakeException
Re: Error connecting to sync server: javax.net.ssl.SSLHandshakeException
I think the issue has to do with the SSL certificate. Take a look at this post:
https://www.csprousers.org/forum/viewto ... tion#p8569
https://www.csprousers.org/forum/viewto ... tion#p8569
Re: Error connecting to sync server: javax.net.ssl.SSLHandshakeException
Dear aaronw,
The post referred to is concerned with self signed certificates. But the certificate, I am using, has been issued by a CA named letsencrypt.
And, moreover, this problem is with only particular to that mobile.
So, I think, there is something else going on here, which I am unable to decipher.
May be @josh or @martin may be able to help!
Anyways, thanks for reply.
Parth
The post referred to is concerned with self signed certificates. But the certificate, I am using, has been issued by a CA named letsencrypt.
And, moreover, this problem is with only particular to that mobile.
So, I think, there is something else going on here, which I am unable to decipher.
May be @josh or @martin may be able to help!
Anyways, thanks for reply.
Parth
Re: Error connecting to sync server: javax.net.ssl.SSLHandshakeException
The first link Josh provided gave quite a bit of context that might be helpful for tracking down the issue: https://developer.android.com/training/ ... curity-ssl
The issue may have a couple different causes and the issue may be with the creation of the SSL certificate. I think you may need to do a bit of digging and try a few different things.
Here's one search result I would take a look at:
https://community.letsencrypt.org/t/let ... roid/58867
The issue may have a couple different causes and the issue may be with the creation of the SSL certificate. I think you may need to do a bit of digging and try a few different things.
Here's one search result I would take a look at:
https://community.letsencrypt.org/t/let ... roid/58867
Re: Error connecting to sync server: javax.net.ssl.SSLHandshakeException
You may be having an issue with Android 7.0 compatibility isssue with letsencrypt. Please check this post to resolve your certificate issues.
https://community.letsencrypt.org/t/and ... ion/152050
https://community.letsencrypt.org/t/and ... ion/152050