This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
Websockets doesn't work if verify_peer is true #812
Unanswered
aceraven777
asked this question in
Q&A
Replies: 1 comment
-
is there any workaround for this? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm using the version 1.12.0
My problem here is when I set the
'verify_peer' => true
the websocket is not working, but when the value isfalse
it is working. Is there anyone here managed to make this to work?For production website, I want set the
verify_peer
totrue
to prevent man-in-the-middle attack.I have a website, lets say aceraven777.com, it already has SSL installed (in the cPanel it has autoSSL enabled).
In the websockets config I entered the same path (the one that cPanel generated) for the certificate and private key.
The chrome throws an error:
Below are the settings I used:
config/websockets.php
config/broadcasting.php
Beta Was this translation helpful? Give feedback.
All reactions