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

mqtt-exception : ssh handshake failed with openssl error - SSL_ERROR_ZERO_RETURN #1904

Open
Kmoorthi1989 opened this issue Dec 20, 2023 · 0 comments
Labels
question It is a question regarding the project

Comments

@Kmoorthi1989
Copy link

HI Team,

I had provisioned MQTT "eclipse-mosquitto" docker on AWS+NLB for the MQTT broker and used MQTTnet for the communication to mqtt broker, client services are running in the same AWS region as docker container which is using "mcr.microsoft.com/dotnet/core/aspnet:3.1-buster-slim".

Everything is working fine without TLS option, but when I enabled TLS (MQTTS) for the communication getting open SSL error "SSL_ERROR_ZERO_RETUN".

  • Network Loadbalancer provides the TLS certificate for the TLS communication between client and loadbalancer but loadbalancer and mqtt broker communication is HTTP only.
  • Update FQDN CA certificates into client docker images.
  • I have tested MQTT CLI client tool, it was working using TLS.

mqtt-ssl-error

@Kmoorthi1989 Kmoorthi1989 added the question It is a question regarding the project label Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question It is a question regarding the project
Projects
None yet
Development

No branches or pull requests

1 participant