Closed PNixx closed 1 year ago
https://github.com/amphp/socket/blob/6f65724311f47932f54e2f96f3313445c8de57a1/src/ClientTlsContext.php is what you're looking for. It looks like it needs an extension to support a passphrase.
Passphrase support has been added in https://github.com/amphp/socket/commit/fa19cb8acfb85be7476aaf7afca4ea051a80e23a.
I need connect to
ssl://gateway.sandbox.push.apple.com:2195
with certificate and passphrase. Example: https://gist.github.com/marchbold/393bd1b7828e30178899. How I can do it?