diff --git a/config/broadcasting.php b/config/broadcasting.php index 30c9adab9..5f16ae1a6 100755 --- a/config/broadcasting.php +++ b/config/broadcasting.php @@ -36,15 +36,15 @@ return [ 'app_id' => env('PUSHER_APP_ID'), 'options' => [ 'cluster' => env('PUSHER_APP_CLUSTER'), - 'encrypted' => false, + 'encrypted' => true, 'host' => env('PUSHER_HOST', '127.0.0.1'), - 'port' => env('PUSHER_PORT', 472), - 'schema' => 'http', -// 'useTLS' => true, -// 'curl_options' => [ -// CURLOPT_SSL_VERIFYHOST => 0, -// CURLOPT_SSL_VERIFYPEER => 0, -// ] + 'port' => env('PUSHER_PORT', 4433), + 'schema' => 'https', + 'useTLS' => true, + 'curl_options' => [ + CURLOPT_SSL_VERIFYHOST => 0, + CURLOPT_SSL_VERIFYPEER => 0, + ] ], ], diff --git a/config/websockets.php b/config/websockets.php index 6cd56c101..81b4d6a5a 100644 --- a/config/websockets.php +++ b/config/websockets.php @@ -31,7 +31,7 @@ return [ 'capacity' => null, 'enable_client_messages' => false, 'enable_statistics' => true, - 'encrypt' => false + 'encrypt' => true ], ], @@ -136,6 +136,7 @@ return [ * Passphrase for your local_cert file. */ 'passphrase' => env('LARAVEL_WEBSOCKETS_SSL_PASSPHRASE', null), + 'verify_peer' => false, ], /*