Looks like a certificate error. Might be an issue with your chain
Try testing the certicate here https://www.ssllabs.com/ssltest/
And i assume this is different on your server?
"authHost": "https://example.com/",
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Getting Error in Console:
Failed to load resource: net::ERR_CERT_AUTHORITY_INVALID
:6001/socket.io/?EIO=3&transport=polling&t=NFSQxVT:1
Laravel-echo-server.json:
{
"authHost": "https://example.com/",
"authEndpoint": "/broadcasting/auth",
"clients": [
{
"appId": "************",
"key": "*********************"
}
],
"database": "redis",
"databaseConfig": {
"redis": {
"port": "6379",
"host": "0.0.0.0"
},
"sqlite": {
"databasePath": "/database/laravel-echo-server.sqlite"
}
},
"devMode": false,
"host": "0.0.0.0",
"port": "6001",
"protocol": "https",
"socketio": {},
"secureOptions": 67108864,
"sslCertPath": "/home/ssl/certs/mycert.crt",
"sslKeyPath": "/home/ssl/keys/my.key",
"verifyAuthPath": true,
"verifyAuthServer": false,
"sslCertChainPath": "",
"sslPassphrase": "",
"subscribers": {
"http": true,
"redis": true
},
"apiOriginAllow": {
"allowCors": true,
"allowOrigin": "https://example.com:6001",
"allowMethods": "GET, POST",
"allowHeaders": "Origin, Content-Type, X-Auth-Token, X-Requested-With, Accept, Authorization, X-CSRF-TOKEN, X-Socket-Id"
}
}
Maybe,m giving wrong crt file path.?please help me how to configure it with SSL?
Please or to participate in this conversation.