You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am running a Ratchet server in my laravel app and the websocket works well in the default configuration as described in the ratchet documentation but when I try to enable TLS using ReactPHP's SecureServer, I am unable to connect to the WebSocket server. Here is the code I am using for the TLS-enabled version:
The cert file contains the '-----BEGIN PUBLIC KEY-----' section and the key file contains the '-----BEGIN RSA PRIVATE KEY-----' section. Both files were generated using OpenSSL RSA 2048.
The text was updated successfully, but these errors were encountered:
Hey,
I am running a Ratchet server in my laravel app and the websocket works well in the default configuration as described in the ratchet documentation but when I try to enable TLS using ReactPHP's SecureServer, I am unable to connect to the WebSocket server. Here is the code I am using for the TLS-enabled version:
And for the version that works (but without TLS), this is the code that I am using:
The cert file contains the '-----BEGIN PUBLIC KEY-----' section and the key file contains the '-----BEGIN RSA PRIVATE KEY-----' section. Both files were generated using OpenSSL RSA 2048.
The text was updated successfully, but these errors were encountered: