简体   繁体   中英

Does server only CA certificate with Mosquitto encrypt messages from the client to the server

This is probably a stupid question, but, in the Mosquitto.conf documentation on SSL says,

If false, the SSL/TLS component of the client will verify the server but there is no requirement for the client to provide anything for the server: authentication is limited to the MQTT built in username/password

If one chooses this particular protocol does it mean the encryption is only one way, ie only broker traffic to the client is encrypted, or is traffic encrypted in both directions?

if you set require_certificate config to false only the server(broker) will be authenticated. If you want to authenticate the client as well, you have to set the said config to true.

if it's set to true, client has to send the certificates to the broker, therefore enabling mutual authentication.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM