I have client (Raspberry pi). On raspberry mosquitto and node red are running. On ther side i have rented a server on a cloud.On sever also mosquitto and node-red are running. Obviously, i would not let every body to send data on my server, therefore I am using VPN concept.
At the moment for some reason, i want not to use VPN. Then comes the next solution "implementing the TLS/SSL".
I have read many posts but i could not understood it properly. Could anyone help me please. Atleast some clear steps i need to take.
What i have understood so far, i need to
Retrieve the SSL from letsenrypt (on my server side). Then need to make some configuration. Then i need to create user and password on the server.
Then i need to generate the self signed SSL certificate (On Raspberry pi side). Then i need to use the user and password ( that has been created in step 1) in the node-red configuration. My server would let the Raspi to send data on server if it has the correct user and password.