php - Is there any way to check .PEM file is Valid or not in iOS? -


i have created production adhoc .pem files. have followed steps:

by using this link created .pem file , checked valid or not using following command like: $php simplepush.php

but getting error like::

warning: stream_socket_client(): php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known in /users/mac-jarc/desktop/simplepush/simplepush.php on line 21

warning: stream_socket_client(): unable connect ssl://gateway.sandbox.push.apple.com:2195 (php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known) in /users/mac-jarc/desktop/simplepush/simplepush.php on line 21 failed connect: 0 php_network_getaddresses: getaddrinfo failed: nodename nor servname provided, or not known

but in php developer said it's .pem file mistake . tought it's not(because sure .pem file perfect) , suggested him it's server ports issue

can please me out regarding this:: how check .pem file valid or not. here php code: enter image description here


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -