For certificates search Openssl generate certificates
.
1 2 3 4 5 6 7 8 9
| FROM emqx:5.1.6
ENV EMQX_LISTENERS__SSL__CLIENTS_SSL__BIND=0.0.0.0:8883 ENV EMQX_LISTENERS__SSL__CLIENTS_SSL__MAX_CONNECTIONS=infinity ENV EMQX_LISTENERS__SSL__CLIENTS_SSL__SSL_OPTIONS__CERTFILE=/ssl/fullchain.pem ENV EMQX_LISTENERS__SSL__CLIENTS_SSL__SSL_OPTIONS__KEYFILE=/ssl/privkey.pem ENV EMQX_LISTENERS__SSL__CLIENTS_SSL__SSL_OPTIONS__VERIFY=verify_none
COPY ssl /ssl/
|