-
-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSL / TLS #667
Comments
I managed to get this working but I'm not proud of my methods. Used a combination of |
Not sure about the SSL flags, but to be sure, you meant 'wss://' not 'ws://' for secure websockets correct? |
Yep that's right. Updated. |
@codenamegary Mind sharing how you created a workaround? I'm having the same issue |
@markcipolla - Sorry for the super late response. My workaround was just to use this. https://github.com/cameronhunter/local-ssl-proxy I used certbot to generate a certificate then just run local-ssl-proxy accordingly to forward from 443 to whatever port my HocusPocus is running on. |
Hi @codenamegary, Thanks for sharing your solution. Are you using HocuspocusProvider or a custom Provider (y-websocket) to connect to the HocusPocus Server via local-ssl-proxy? Cheers! |
I'm using HocuspocusProvider. |
The problem I am facing
I have this up and running and it works great! I'm facing challenges when serving up something over SSL, and then trying to connect to wss:// in production. Browsers throw mixed content errors and it doesn't work.
The solution I would like
And essentially just follow along the ws example from there.
Alternatives I have considered
I have tried every AWS load balancer config and an nginx proxy but nothing seems to work.
Additional context
I think I have a handle on how this could work, happy to put together a pull request if it's desireable.
The text was updated successfully, but these errors were encountered: