title: Netty on Android - InvalidKeyException
body: <p>I'm trying to run netty on android. It works fine on Motorola Xoom tablet running 3.2. But it constantly fails on Samsung Galaxy S and Galaxy Tab running 2.3.6 and 3.1 respectively. The exception trace is as below. Has someone faced this earlier.. Any workaround on this.. thanks.</p>
  
  <pre><code>Caused by: java.security.InvalidKeyException: The public key in the 
  certificate cannot be used for ENCRYPT_MODE 
       at javax.crypto.Cipher.init(Cipher.java:815) 
       at javax.crypto.Cipher.init(Cipher.java:747) 
       at 
  org.apache.harmony.xnet.provider.jsse.ClientHandshakeImpl.processServerHelloDone(ClientHandshakeImpl.java: 
  418) 
  </code></pre>