-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
Hello! — I had an error trying to connect to a Rails server using certbot as HTTPS provider.
In order to connect from the client, I had to use:
uri = "wss://SERVERURL/cable/"
tls = {cert_chain_file: 'fullchain.pem', private_key_file: 'privkey.pem'}
client = ActionCableClient.new(uri, 'YourChannel', true, nil, tls)
The PEM files live here:
/etc/letsencrypt/live/YOURDOMAIN
Hope this helps someone.
Cheers!
NullVoxPopuli
Metadata
Metadata
Assignees
Labels
No labels