Tag Archive for 'server'

Disabling Certificate Validation in an HTTPS Connection

By default, accessing an HTTPS URL using the URL class results in an exception if the server’s certificate chain cannot be validated has not previously been installed in the truststore. If you want to disable the validation of certificates for testing purposes, you need to override the default trust manager with one that trusts all certificates.

Great tutorial and sample code here!

PHP library for iOS push notifications

Implementing Apple Push Notification service on client-side iOS devices is an easy process, however server-side could be tricky until now. The apns-php is an all-in-one solution for server side push message sending, and it also features a great documentation about registration process as well.