FiloSottile / mkcert

A simple zero-config tool to make locally trusted development certificates with any names you'd like.
https://mkcert.dev
BSD 3-Clause "New" or "Revised" License
48.79k stars 2.52k forks source link

mkcert can make a mqtt tls Certificate? #382

Open wangwenqiangGitHub opened 3 years ago

antong commented 2 years ago

For the mosquitto server, yes. For the client (mutual TLS), if you want to use e.g., use_identity_as_username, then last time I looked it wouldn't work as mkcert doesn't set a CN for the subject. See #257 for discussion and #258 for an example of a one line patch to set a CN.