Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

javax.net.ssl.SSLException: Not trusted server certificate on Galaxy Tab 7 only?

I have an application which connects to an HTTPS web service. I did not include any certificate in my application because the HTTPS is certified by VeriSign. As such, it should be a trusted certificate already by default even without including the certificate in the device.

I was able to connect to it using a Samsung Galaxy S2. However, in Samsung Galaxy Tab 7, it returns an error: javax.net.SSLException: Not trusted server certificate on Galaxy Tab 7. What could be the problem? Does different Android devices trust certificates differently even though the certificate is VeriSign certified? What could I do to fix the problem? Is there a way to configure an Android device to trust VeriSign without modifying the application?

like image 897
Arci Avatar asked Feb 01 '26 20:02

Arci


2 Answers

put your time and date back to the right time and date and all will be fine

like image 198
dave white Avatar answered Feb 03 '26 09:02

dave white


Are they running different versions of Android? If this is a website that you control, you'll want to make sure that the proper CA bundle is installed along with the certificate. As far as adding more root CAs to Android... I believe there is something in preferences: personal > security > credential storage that might give you more options with regards to SSL certificates.

like image 22
Daniel Lockard Avatar answered Feb 03 '26 10:02

Daniel Lockard



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!