I trying to validate the certificate I created for APNS using the following command but I get an error.
openssl s_client -connect gateway.push.apple.com:2195 -cert temp.pem -debug -showcerts
Error: getaddrinfo: nodename nor servname provided, or not known connect:errno=0
Any help will be greatly appreciated.