title: javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate for: https://android.apis.google.com/c2dm/send
body: <p>I am getting [C2DMReg] handleRequest caught </p>
  
  <blockquote>
    <p>org.apache.http.auth.AuthenticationException</p>
  </blockquote>
  
  <p>while trying to get the registration id from google server. Here is the logcat trace:</p>
  
  <pre><code>02-24 19:10:26.951: WARN/DefaultRequestDirector(122): Authentication error: Unable to respond to any of these challenges: {}
  02-24 19:10:26.969: DEBUG/C2DMRegistrar(122): [C2DMRegistrar.24] register: http error 401
  02-24 19:10:26.969: ERROR/C2DMRegistrar(122): [C2DMReg] handleRequest caught org.apache.http.auth.AuthenticationException
  </code></pre>
  
  <p>But I am able to get the registration id.But when I try to send the msg to device, I get an exception that is </p>
  
  <blockquote>
    <p>javax.net.ssl.SSLHandshakeException: Could not verify SSL certificate
    for: <a href="https://android.apis.google.com/c2dm/send" rel="nofollow">https://android.apis.google.com/c2dm/send</a></p>
  </blockquote>
  
  <p>What can be the reason ? Its been 24 hours I registered my email id for C2DM service. I got their mail.But still it does not work. </p>