Right now, chrome browser will verify trusted ssl. If you use any ssl cert, it will show some warning which make users feel uncomfortable. Let's see which ssl we can use for free. I have a chance to try one cert authority names 'Let's encrypt' Please see the instructions how to use it. My Environment 1. CentOS 7 Step 1. Install certbot client. https://certbot.eff.org/ wget https://dl.eff.org/certbot-auto sudo mv certbot-auto /usr/local/bin/certbot-auto sudo chown root /usr/local/bin/certbot-auto sudo chmod 0755 /usr/local/bin/certbot-auto 2. Run certbot sudo /usr/local/bin/certbot-auto certonly --standalone https://certbot.eff.org/docs/install.html 3. Put your public and private key into secured folder e.g. /etc/letsencrypt/live/... 4. Run automatic renewal echo "0 0,12 * * * root python -c 'import random; import time; time.sleep(random.random() * 3600)' && /usr/local/bin/certbot-auto renew" | sudo tee -a /etc/cron...
Node-Red MQTT on Raspberry Pi Node Red A visual tool for wiring the IoT. Gateway to The IoT. Rapidly developing popular platform device data information. To install Node-Red > bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered) > node-red-start After this you can access the node-red dashboard from url http://<raspberrypi ip addr>:1880 Auto Start on Reboot > sudo systemctl enable nodered.service Install MQTT Broker > npm install node-red-contrib-mqtt-broker Reference [1] Install Node-Red [2] Install node-red-contrb-mqtt-broker [3] First time mqtt-broker MQTT Publish Getting started install MQTT client > sudo pip install paho-mqtt Note: GPIO. Stands for " General Purpose Input/Output ." MQTT stands for "Message Queue Telemetry Transport"
Comments
Post a Comment