title: WebView and SSL certificates
body: <p>I have problems loading SSL secured web pages with Androids WebView. I always get errors like:
  <code>onReceivedSslError: primary error: 3 certificate: Issued to: CN=intranet.&lt;company&gt;.de,C=DE,O=&lt;company&gt;,OU=&lt;compay org unit&gt;</code></p>
  
  <p>I already installed all the certificates of the certificate chain of this server into Android's keychain via Settings->Security->Install from SD card. I can even see that one of the installed certificates matches perfectly the error output from LogCat.
  It gets even more strange if I use the default Browser app: it loads the page without any problems even if I uninstall all of the certificats mentioned before.
  I don't really have any clue on how I can fix this without trusting all certificats by calling <code>handler.proceed()</code> in <code>onReceivedSslError()</code> which is a potential security issue.
  Any help is appreciated. Thanks!</p>
  
  <p>Cheers
  Bjoern</p>
  
  <p>EDIT: The root certificate is self-signed because it's only intended to be used for intranet servers. I thought that all certificates I that I add to the Android trusted credentials would be trusted.</p>