title: How to login with HTTPS self-signed certified in JSOUP
body: <p>I want to make an android app to do a login on the website of my school, the problem that I have is that the website works with HTTPS protocol and it has a self-signed protocol.</p>
  
  <p>I have been searching how can I perform the login doing a scrapping of the website with JSOUP but when try to connect to the website I got the next error</p>
  
  <blockquote>
    <p>javax.net.ssl.SSLHandshakeException:
    java.security.cert.CertPathValidatorException: Trust anchor for
    certification path not found.</p>
  </blockquote>
  
  <p>I've seen <a href="http://www.codeproject.com/Articles/826045/Android-security-Implementation-of-Self-signed-SSL" rel="nofollow">this site</a> and <a href="http://www.devsumo.com/technotes/2014/01/java-trusting-https-server-certificates/" rel="nofollow">also this site</a> but i'm a little bit confused</p>
  
  <p>What i want that you can help me is that if you have some kind of code that make it easier do the login or how can I do this in an easier way.</p>