Android SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER

Hi,
One of our customer procured the SSL certificate from Let’s encrypt. They configured the certificate in pfx format on server end which is a server application hosted on embedded-apache-tomcat server. And our client applications are running on Android as well as in Web using node js and express js frameworks.

Https communication between server and web client is going through successfully without any problem.

Intermedicate certificate Lets Encrypt Authority X3 is installed on the Android device before initiating the Https communication. But it fails in Android client with the below error.

06-02 12:11:33.192 4882 4988 W System.err: Suppressed: javax.net.ssl.SSLHandshakeException: Handshake failed
06-02 12:11:33.192 4882 4988 W System.err: … 16 more
06-02 12:11:33.192 4882 4988 W System.err: Suppressed: javax.net.ssl.SSLHandshakeException: Handshake failed
06-02 12:11:33.192 4882 4988 W System.err: … 16 more
06-02 12:11:33.193 4882 4988 W System.err: Caused by: javax.net.ssl.SSLProtocolException: SSL handshake aborted: ssl=0x7fafd09b40: Failure in SSL library, usually a protocol error
06-02 12:11:33.193 4882 4988 W System.err: error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER (external/boringssl/src/ssl/tls_record.c:192 0x7fa25b7e7e:0x00000000)
06-02 12:11:33.193 4882 4988 W System.err: at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
06-02 12:11:33.193 4882 4988 W System.err: at com.android.org.conscrypt.OpenSSLSocketImpl.startHandshake(OpenSSLSocketImpl.java:357)
06-02 12:11:33.193 4882 4988 W System.err: … 15 more

Any help on this would be greatly appreciated.

Thanks
Murali

Hi,

I think this line is what you wanted.
Googling the whole line will show you a stackoverflow post, https://stackoverflow.com/a/30302235.
Hope this helps.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.