Hello I am trying to send a push message to my device using Java. But I\'am allready getting problems when establishing the ssl connection.
Here is the code so far:
You might want to take a look at http://code.google.com/p/javapns/. If you really need to reinvent the wheel and not use JavaPNS directly instead of writing your own code for this, at least JavaPNS' documentation should help you understand key principles you'll need to know.