Local HTTPS server on Android with client authentication

view full story

http://stackoverflow.com – I have to create a key-distribution server, which is to be just a local server obtaining AES keys from DRM provider via their own API and returns them to the connected clients. The client is either my own media player based on FFmpeg library or the native Android media player. I have experimented on Windows with Boost ASIO library and OpenSSL - there is an example of how to create a simple HTTPS server and client. In my case I have to enable access to the server only to dedicated applications/clients so I need a client authentication. There are a few things which are unclear to me as I have n (HowTos)