title: Is it safe to accept self-signed certificates?
body: <p>I have an Android app, and I keep getting <code>javax.net.ssl.SSLException: Not trusted server certificate</code> when I try to use it with my own server with my own self-signed certificate.</p>
  
  <p>I am thinking of configuring the Android <code>TrustManager</code> to accept self-signed certificates, or to accept all certificates, so I can debug my app.  I've read a bunch of <a href="https://stackoverflow.com/q/2642777/781723">resources</a> on this site about how to do that.  Is this safe to do?</p>