Skip to content
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

Guideline on setup websocket wss #303

Open
sylvester-x opened this issue Nov 9, 2021 · 1 comment
Open

Guideline on setup websocket wss #303

sylvester-x opened this issue Nov 9, 2021 · 1 comment

Comments

@sylvester-x
Copy link

Hi, currently I facing the to setup websocket wss in docker vernemq in aws linux 2. For websocket ws is no problem for me to connect.

Is that has any guideline on this?

@guillaume1987
Copy link

I faced the same issue. I added this in the values.yaml file to make SSL work for both mqtts and wss:
``
additionalEnv:
...

  • name: DOCKER_VERNEMQ_LISTENER__SSL__CAFILE
    value: "/etc/ssl/vernemq/tls.crt"
  • name: DOCKER_VERNEMQ_LISTENER__SSL__CERTFILE
    value: "/etc/ssl/vernemq/tls.crt"
  • name: DOCKER_VERNEMQ_LISTENER__SSL__KEYFILE
    value: "/etc/ssl/vernemq/tls.key"
  • name: DOCKER_VERNEMQ_LISTENER__WSS__CAFILE
    value: "/etc/ssl/vernemq/tls.crt"
  • name: DOCKER_VERNEMQ_LISTENER__WSS__CERTFILE
    value: "/etc/ssl/vernemq/tls.crt"
  • name: DOCKER_VERNEMQ_LISTENER__WSS__KEYFILE
    value: "/etc/ssl/vernemq/tls.key"
    ``
    It would probably be nice to add it in the README.md.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants