APNSで突然エラーが出るようになった!?

iPhoneアプリApple iPhone Notification Services(APNS)で開発しているとき
自分はphpで送信してるんですが(方法はググってね)
前までうまく行ってたのに、
なぜか動かなくなって以下のようなエラーを吐くようになりました。。
ポートが閉じられたのかな、、なんておもっていろいろ調べていたけど
どうも、ただ単にAPNS開発用の証明書の期限が切れてただけでした。

ので、Provisioning PortalのAPP IDsで同じように作成しなおしてください。
(一回作っているので作り方はわかりますよね? 自分は完璧にあたふたしましたw)

PHP Warning:  stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:14094415:SSL routines:func(148):reason(1045) in /xxxxx/apns_send.php on line xx

Warning: stream_socket_client(): SSL operation failed with code 1. OpenSSL Error messages:
error:14094415:SSL routines:func(148):reason(1045) in /xxxxx/apns_send.php on line xx
PHP Warning:  stream_socket_client(): Failed to enable crypto in /xxxxx/apns_send.php on line xx

Warning: stream_socket_client(): Failed to enable crypto in /xxxxx/apns_send.php on line xx
PHP Warning:  stream_socket_client(): unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Unknown error) in /xxxxx/apns_send.php on line xx

Warning: stream_socket_client(): unable to connect to ssl://gateway.sandbox.push.apple.com:2195 (Unknown error) in /xxxxx/apns_send.php on line xx
Failed to connect 0 


(ググっても出てこなかったので、同じような境遇にあった人のために残していきます)



APNSでとても参考にさせていただいたサイト
http://www.fedorax.info/tag/apns