Free Web Hosting Forum

Free Web Hosting Forum (
-   Customer Assistance (
-   -   SSL outgoing connections (

Mizonnz 03-16-2011 09:49 PM

SSL outgoing connections
First of all I want to say that 000webhost is great, you guys give us so much for free, and by using your services I've learnt alot about php, sql etc. I understand you can't give us everything for free, so I just want to check if upgrading to a paid account will allow for ssl:// outgoing connections.

Specifically I want to do iphone push notifications, and these require an ssl connection to apple's servers. I have a .pem certificate to use. Something like the following php code:


$streamContext = stream_context_create();
stream_context_set_option($streamContext, 'ssl', 'local_cert', $apnsCert);
$apns = stream_socket_client('ssl://', $error, $errorString, 2, STREAM_CLIENT_CONNECT, $streamContext);

At the moment I get the error - Unable to find the socket transport "ssl"

Fair enough, ssl is not enabled on the free servers, and I see that paid hosting does have ssl, but I just want to check if it will allow code like this.

chanh 03-17-2011 02:11 AM

please check with to get your paid hosting question answer. This forum is only for 000webhost.

All times are GMT. The time now is 02:03 AM.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.