Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

User1980's avatar

Websocket ssl question

Hello,

I am installing websockets on my vps.

Usually locally I would add my self signed certificate as:

LARAVEL_WEBSOCKETS_SSL_LOCAL_CERT="/home/xxxxxxx/laravel/ssl/19696067_xxxxxxx.com.cert"
LARAVEL_WEBSOCKETS_SSL_LOCAL_PK="/home/xxxxxxx/laravel/ssl/19696067_xxxxxxx.com.key"

But on the vps I am using my hosting provider is giving me these files instead:

/var/cpanel/ssl/apache_tls/domain.com/combined
/var/cpanel/ssl/apache_tls/domain.com/cert

Any idea how to use both in the .env? It is confusing.

Thanks

0 likes
0 replies

Please or to participate in this conversation.