Take the 2-minute tour ×
Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. It's 100% free, no registration required.

I have a Nexus 10 (unlocked & rooted) and I wanted to get the openssl binary on there so I can verify HTTPS certificates:

$ openssl s_client -connect <IPADDRESS>

However, no matter what I do I can't find a simple way of getting OpenSSL on Android so I can run the command above. I found something about 'opkg' but I couldn't get this process working. It was also incredibly complex. There is also an app called "Botbrew", but this project seems dead and doesn't work.

Anyone know how to get OpenSSL binary on my Nexus 10? At the very least, how can I view the certificate chain that Google uses when negotiating SSL handshake for the Gmail app (this is ultimately my goal)?

Thanks.

share|improve this question

2 Answers 2

Your best bet will be to build it from source.

There are a few StackOverflow questions that you might want to reference if you haven't already.

How to use openSSL Library in the ANDROID application

How to build OpenSSL on Android/Linux ?

Openssl Build Issue with Android NDK r8

The first SO has an answer linking to a GitHub project android-external-openssl. I would suggest trying to work with this code as a starting point.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.