Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - Security with HTTPS and SSL - Unknown certificate authority - NativeCrypto Exception

Following this one: https://developer.android.com/intl/es/training/articles/security-ssl.html part:Unknown certificate authority - example of University of Washington.

Now I can access and communicate with the server. I got the response from the server as expecting. However, there are some error on Android log:

E/NativeCrypto﹕ ssl=0x61ede338 cert_verify_callback x509_store_ctx=0x618358c0 arg=0x0
E/NativeCrypto﹕ ssl=0x61ede338 cert_verify_callback calling verifyCertificateChain authMethod=RSA

I don't have any ideas where this comes from? Is this normal? Someone can explain/help me out please?

like image 486
Anh-Tuan Mai Avatar asked Aug 18 '15 14:08

Anh-Tuan Mai


People also ask

What is SSL in Android?

The Secure Sockets Layer (SSL)—now technically known as Transport Layer Security (TLS)—is a common building block for encrypted communications between clients and servers. It's possible that an application might use SSL incorrectly such that malicious entities may be able to intercept an app's data over the network.

Why is my SSL not working on mobile?

Mobile devices and the micro browsers that are installed on them support our SSL certificates if the server-side installation has been performed correct. The usual reason for lack of mobile support is the non-installation of the intermediate certificate, which is critical to completing the chain of trust.

What is SSL cert?

SSL certificates are what enable websites to move from HTTP to HTTPS, which is more secure. An SSL certificate is a data file hosted in a website's origin server. SSL certificates make SSL/TLS encryption possible, and they contain the website's public key and the website's identity, along with related information.

Why is my SSL certificate not working on my Android phone?

If your Android phone is running with the wrong date and time, then you may face the SSL/TSL certificate issue. In that case, you may get a message on your device "The connection is not private." All you need to do is to just fix your time and date.

What is SSL certificate not trusted?

It is one of the measures of ranking factors whereby google uses it in case the certificate is not trusted. While using an Android phone to surf a type of SSL error known as “ Your Connection is Not Private ”, “ This site certificate is not trusted ”. Buy Code Signing Certificates from $55.00/yr.!

What is “your connection is not private” SSL error?

While using an Android phone to surf a type of SSL error known as “ Your Connection is Not Private ”, “ This site certificate is not trusted ”. Buy Code Signing Certificates from $55.00/yr.! Get the lowest prices on trusted SSL Brands from ClickSSL. Sometimes it’s very hard to solve the error.

How to fix SSL connection error on Android?

How to Fix SSL Connection Error On Android? Step #1. The correct date and time should be set Time and date should be automatically set so that the server time may match with the Android phone. One should go to settings and save the changes of automatic time and date then close all tabs and restart your Android device.


1 Answers

That log is normal, it issue from your device, it also appear in my app, please dont worry. With SSL on android, you can try this lib for your work, check it here

like image 71
quocnhat7 Avatar answered Sep 27 '22 18:09

quocnhat7