title: Received fatal alert: handshake_failure
body: <p>I'm trying to send push notifications to my device using <strong>javapns</strong> library in <strong>liferay</strong>. Here's the code:</p>
  
  <pre><code>private void pushNotification(ActionRequest actionRequest,
              ActionResponse actionResponse) {
  
          try {
              System.out.println("Push");
  
              Push.alert("Hello World!", "ck.p12", "PASSPHRASE", false, "TOKEN");
  
          } catch (CommunicationException e) {
              System.out.println("CommunicationException");
              e.printStackTrace();
          } catch (KeystoreException e) {
              System.out.println("KeystoreException");
              e.printStackTrace();
          }
  
      }
  </code></pre>
  
  <p>I'm getting this error when the pushNotification is called:</p>
  
  <pre><code>ERROR [PushNotificationManager:450] Delivery error: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
  </code></pre>
  
  <p>I've googled it but couldn't find any solution.</p>
  
  <p>Does anyone know how to solve this problem?</p>