title: SSL certificate Android
body: <p>I have a problem with importing certificate to application.
  I have created BKS keystore with keytool. I put it to res/raw folder. 
  I'm able to load it to Android.</p>
  
  <pre><code>InputStream inputStream = context.getResources().openRawResource(R.raw.enigma);
  KeyStore keyStore = KeyStore.getInstance(KeyStore.getDefaultType());
  keyStore.load(inputStream, "android".toCharArray());
  inputStream.close();
  
  String algorithm = KeyManagerFactory.getDefaultAlgorithm();
  KeyManagerFactory keyManagerFactory = KeyManagerFactory.getInstance(algorithm);
  keyManagerFactory.init(keyStore, "android".toCharArray());
  </code></pre>
  
  <p>When I try to call SSLServerSocket.accept() then, I receive an Exception: "SSLException: Could not find any key store entries to support the enabled cipher suites".</p>
  
  <p>What can be wrong? Is there tutorial for creating KeyStore on Android.</p>
  
  <p>Thanks</p>