Secure way to control Arduino devices from anywhere in Arduino Control Center(Part III)

For free SSL Certificates, which will enable Arduino Control Center a secure https connection, we will use service called SSL for FREE.
If you have read the previous post, you already know that is not possible to issue SSL certificate with IP address, it has to be used hostname like any other web page you're visiting every day.
In order to create hostname, in this article I will use No-IP free Dynamic DNS service. It has a few limitations in free version - only 3 hostnames and every 30 days hostnames has to be confirmed that you are still using them. It can be easily upgraded, if you find this annoying and you will use more than three hostnames..
After registration, you can create hostname in administration dashboard.

Click on Create Hostname


Select whatever hostname you want and domain and click on Create Hostname:



For this demonstration and for next topic where we finally will be connected to Arduino Control Center web server over secure HTTPS connection, I've created host name mytestdns.redirectme.net



Next thing what is important to do is installing DUC (Dynamic DNS Update Client) application. It checks for IP address changes in the background and automatically updates the DNS at No-IP whenever it changes.



After downloading and installing DUC application, Sign In with your login credentials:

Sign In to DUC application

Select hostname created at No-IP dashboard, in this case mytestdns.redirectme.net, press Save button and your PC public address will be synchronized with No-IP server.

Select hostname

DUC at work


What is this mean? Whenever someone type in browser mytestdns.redirectme.net, No-IP server will automatically redirect user to Arduino Control Center web server! If you didn't buy fixed IP address from your Internet provider, and public IP address changes after PC reboot for example, No-IP server will know about this change as soon as DUC application is started, by default setup, this is automatically.
So, when you type in browser mytestdns.redirectme.net, and you did proper Port Forwarding on your home-office router(in this case port 80) to the PC with running Arduino Control Center and web server started on port 80, you will get Arduino Control Center login page.

Hostname in web browser

ACC login page

ACC main view after login


As you can on screenshots, we are logged on ACC web server by using mytestdns.redirectme.net hostname! Still, connection is not secure, and in the next post, I will explain to you how to generate SSL certificates and connect to Arduino Control Center web server on HTTPS port 443, establish secure connection with valid FREE SSL certificate...

Comments

Popular posts from this blog

Secure way to control Arduino devices from anywhere in Arduino Control Center(Part I)

Why Arduino Control Center support only NANO,UNO and MEGA compatible boards?