title: Unable to extract the trust manager on okhttp3
body: <p>My code connects to apns for push notification. Am using clevertap library from git(<a href="https://github.com/CleverTap/apns-http2" rel="nofollow noreferrer">https://github.com/CleverTap/apns-http2</a>). It uses okhttp3 for the connection. When I run code on IBM WAS 8.5.5 and am receiving an exception. Details below. Can you pls help me on how to address this? Am trying with Synchronous mode of sending push message. I use Java 1.7, WAS 8.5.5. Pls let me know if you need more details.</p>
  
  <pre><code>Caused by: java.lang.IllegalStateException: Unable to extract the trust manager on okhttp3.internal.Platform$JdkWithJettyBootPlatform@aeaa4bd5, sslSocketFactory is class com.ibm.jsse2.SSLSocketFactoryImpl
          at okhttp3.OkHttpClient.&lt;init&gt;(OkHttpClient.java:187)
          at okhttp3.OkHttpClient.&lt;init&gt;(OkHttpClient.java:60)
          at okhttp3.OkHttpClient$Builder.build(OkHttpClient.java:718)
          at com.clevertap.apns.clients.SyncOkHttpApnsClient.&lt;init&gt;(SyncOkHttpApnsClient.java:79)
  </code></pre>
  
  <p><strong>Edit</strong>:</p>
  
  <p>There were some solutions suggesting to re-install the certificate etc. But now, I don't get the trust store issue. But getting SSLHandshakeException.  Error: javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure. I googled for the problem, but most of the solutions are with p12 option, with certificate not extracted correctly. But am using a p8 file here.</p>