Skip to content

crypto/tls: no cipher suite supported by both client and server #23330

Description

@chowyu08

What version of Go are you using (go version)?

golang1.9.2

Does this issue reproduce with the latest release?

tls error: with no cipher suite supported by both client and server

What operating system and processor architecture are you using (go env)?

broker: ubuntu16.04
device: no system

What did you do?

I run a mqtt broker with tls wirte by golang, for device connect.
listener code :
l, err = tls.Listen("tcp", addr, b.TLSConfig)

result:
paho mqtt client , mosquitto_sub, mosquitt_pub was ok, but device was wrong with the error " no cipher suite supported by both client and server"

but when i use the same certs with mosquitto broker, device connect success.

What did you expect to see?

wireshark message in the broker write by golang:
mosquitto client package
image

device package
image

the device miss some extensions, but mosquitto can accept connect, my broker was wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeWaitingForInfoIssue is not actionable because of missing required information, which needs to be provided.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions