This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Description
I am trying to get the demo to work and it is not. I figure it must be because by default all my valet sites use the --secure flag
I get this red error

I went into the websockets.php config file and tried to pass it the crt and key files:
'ssl' => [
/*
* Path to local certificate file on filesystem. It must be a PEM encoded file which
* contains your certificate and private key. It can optionally contain the
* certificate chain of issuers. The private key also may be contained
* in a separate file specified by local_pk.
*/
'local_cert' => '/Users/xxx/.valet/Certificates/laravel-websockets-demo.dev.crt',
// 'local_cert' => null,
/*
* Path to local private key file on filesystem in case of separate files for
* certificate (local_cert) and private key.
*/
'local_pk' => '/Users/xxx/.valet/Certificates/laravel-websockets-demo.dev.key',
// 'local_pk' => null,
/*
* Passphrase with which your local_cert file was encoded.
*/
'passphrase' => null
],
This changes the error and is no longer red, but it still doesn't work
