Last updated 4 years ago
Mosquitto iot.eclipse.org 1883 / 8883
Generate a CSR using the openssl utility Generate a private key:
openssl genrsa -out client.key Generate the CSR:
openssl req -out client.csr -key client.key -new
mosquitto_sub -h mqtt.eclipse.org --cert client.csr --key client.key -t happy mosquitto_pub -h mqtt.eclipse.org --cert client.csr --key client.key -t happy -m "hello"