![]() Another, saver, option to access your Unifi Controller is to use unifi.ui.com. But keep in mind that your controller is only protected with a username and password. If you also want to access your Unifi Controller from the internet, you could also forward the following port number. Forward-to address: IP Address of your Unifi Controller.Port 80 is needed for LetsEncrypt to authenticate the SSL Certificate. Now you need to forward and open the following ports in your router. Look up your public IP Address, here at, and create an A record with the name unifi and your IP Address. You can get a domain name for less than $10 a year, for example here at NameCheap Now we don’t want to point the whole domain to our unifi controller, so I suggest you create a subdomain and point that to your local network. So to get a certificate we need a domain name. At the end of the file, add: 192.168.0.201 Ĭhange 192.168.0.201 to the IP Address of your Unifi Controller.You will need to open the host file with admin rights to save the changes: On Windows, you can easily add local DNS routes by adding them to your host file. Set system static-host-mapping host-name inet 192.168.0.201 ![]() # Change 192.168.0.201 to the IP Address of your Unifi Controller Simply use Putty or Windows Terminal for this: # Open the SSH connection to your EdgeRouter If you have an EdgeRouter, you can create a static DNS route by opening your router through SSH. ![]() I prefer the router because this is device independent and will work in your whole network, but you will have to check if it’s possible with your router. You can do this locally on your computer, by changing your host file or on your router, by creating a static DNS entry. Local DNS Entriesīut we have a solution for this, we can create a local DNS entry. Opening the controller from the local IP Address will still give a warning because the cert is issued to. You can’t open, because that will require you to make a U-turn on the internet, which won’t work. You are probably running your controller locally, so if you want to open your Unifi Controller, you go to 192.168.0.201 for example.Įven if we make the controller accessible from the internet, with, then, by default, you still can’t access it locally with a certificate. Also, we need to open and forward a specific port in the router.īefore we continue there is one thing you should know, we can’t create a certificate for a local IP Address. To do this you will need a custom domain name that you can use to point a subdomain to your local controller. The renewing can be automated, as I will show you in this article, but it requires that your controller is accessible from the internet. Letsencrypt certificates are free to use but need to be renewed every 90 days. I am using a Rasberry Pi to run the controller, so this article is mostly written for a Pi. So in this article, we are going to install a Letsencrypt SSL Certificate for our Unifi Controller. And I totally understand, it’s annoying to bypass the error/warning every time you log in to your controller. One of the most asked questions about the Unifi Controller is how to get rid of the certificate error when you open the controller.
0 Comments
Leave a Reply. |