docker-vernemq: Can't reconfigure mqtts listener
Hi, I’m trying to set up a mqtts listener, I’ve added the mqtts.enabled=true in the values, as well as the secretMount with the certificates (it seemed that it didn’t work by adding directly the “certificates.{certs,ca,key}” as documented in the README), and when I look at logs I see this:
16:56:01.241 [error] can't reconfigure mqtts listener({127,0,0,1}, 1883) with Options [{max_connections,10000},{nr_of_acceptors,10},{mountpoint,[]},{cafile,"/etc/ssl/vernemq/ca.crt"},{depth,1},{certfile,"/etc/ssl/vernemq/tls.crt"},{eccs,[secp521r1,brainpoolP512r1,brainpoolP384r1,secp384r1,brainpoolP256r1,secp256k1,secp256r1,secp224k1,secp224r1,secp192k1,secp192r1,secp160k1,secp160r1,secp160r2]},{keyfile,"/etc/ssl/vernemq/tls.key"},{require_certificate,false},{tls_version,'tlsv1.2'},{use_identity_as_username,false},{allowed_protocol_versions,[3,4,131]},{allow_anonymous_override,false}] due to {already_started,<0.458.0>}
and trying to send data on MQTT on port 8883 fails with an error (although it works fine for 1883)
is there something I should configure?
About this issue
- Original URL
- State: open
- Created a year ago
- Reactions: 1
- Comments: 57 (20 by maintainers)
Okay, got it working, I’ll document the minimal changes that are required
@ioolkos I tried adding the variables you sent above, now I have those logs