title: Laravel Websockets - error:failed: Error in connection establishment:net::ERR_SSL_VERSION_OR_CIPHER_MISMATCH
body: <p>I´ve been losing days on this one, read a lot of other questions but i can´t simply put this to work and don´t know where is my problem, so i was hopping someone could point me in the right direction. So below is the code i´m using to TRY! to implement websockets:(also i´m just using the pusher driver, not the account!)</p>
  
  <p><strong>broadcasting.php</strong></p>
  
  <pre><code>'pusher' =&gt; [
              'driver' =&gt; 'pusher',
              'key' =&gt; env('PUSHER_APP_KEY'),
              'secret' =&gt; env('PUSHER_APP_SECRET'),
              'app_id' =&gt; env('PUSHER_APP_ID'),
              'options' =&gt; [
                  'cluster' =&gt; env('PUSHER_APP_CLUSTER'),
                  'host' =&gt; '127.0.0.1',
                  'port' =&gt; 6002,
                  'scheme' =&gt; 'https',
              ],
          ],
  </code></pre>
  
  <p><strong>websockets.php</strong></p>
  
  <pre><code>'apps' =&gt; [
          [
              'id' =&gt; env('PUSHER_APP_ID'),
              'name' =&gt; env('APP_NAME'),
              'key' =&gt; env('PUSHER_APP_KEY'),
              'secret' =&gt; env('PUSHER_APP_SECRET'),
              'capacity' =&gt; null,
              'enable_client_messages' =&gt; false,
              'enable_statistics' =&gt; false,
          ],
      ],
  ...
  
  'ssl' =&gt; [
  
          'local_cert' =&gt; 'certs/myDomain.cert',
           // i have created a certs 
           //folder in my public_html and downloaded the cert from my 
           //remote server
  
          'local_pk' =&gt; 'certs/myDomain.key', 
           // i have created a certs 
           //folder in my public_html and downloaded the key from my 
           //remote server
  
          'passphrase' =&gt; null // i don´t know the pass
      ],
  </code></pre>
  
  <p><strong>bootstrap.js</strong></p>
  
  <pre><code>import Echo from 'laravel-echo'
  window.Pusher = require('pusher-js');
  window.Echo = new Echo({
      broadcaster: 'pusher',
      key: 'myKey',
      wsHost: window.location.hostname,
      wssPort: 6002,
      disableStats: true,
      encrypted: true,
      enabledTransports: ['ws', 'wss']
  });
  </code></pre>
  
  <ul>
  <li>If i go to the terminal and <strong>php artisan websockets:serve
  --port=6002</strong> the server starts and does not gives any error</li>
  <li><p>My website is HTTPS, and i don´t know how to implement reverse proxy
  like the docs say because i´m using apache and not nginx, and my
  panel is a mess to edit the files...and with ssl it should work right?</p>
  
  <p>Why does it say <strong>ERR_SSL_VERSION_OR_CIPHER_MISMATCH</strong> i don´t know what to do more</p></li>
  </ul>
  
  <p>Thanks for your time, regards.</p>