Restart the Unifi Controller to apply the changes: sudo systemctl restart unifi
Install the certificate into Unifi Controller: sudo keytool -importkeystore -srckeystore unifi_cert -srcstorepass aircontrolenterprise -destkeystore /var/lib/unifi/keystore -deststorepass aircontrolenterprise -alias unifi -trustcacerts sudo keytool -delete -alias unifi -keystore /var/lib/unifi/keystoreĬonvert the certificate into the keystore type that Unifi Controller uses: sudo openssl pkcs12 -export -in your-ssl-cert.crt -inkey your-ssl-cert-private-key.key -out unifi_cert -passout pass:aircontrolenterprise -name unifi When prompted for a key password, enter aircontrolenterprise. Stop the current Unifi Controller service: sudo systemctl stop unifiĭelete the current SSL from Unifi controller. You can import and use your own self-sign certificates for the Unifi Controller.Ĭonnect to the Unifi Controller host via SFTP to transfer your certificate or key to the system. Adding a Self-Sign Certificate to the Unifi Controller That’s it! You can access the Unifi Controller GUI through the controller’s IP or FQDN in your we browser on port 8443. SSH into your Raspberry Pi OS install, or login to the console. Installing Unifi Controller on Raspberry Pi OSĪ Raspberry Pi is a great budget, low power device to use for a 24/7 Unifi Controller. You can access the Unifi Controller GUI through the controller’s IP or FQDN in your we browser on port 8443.
That’s it! By default, the Unifi controller will listen on port 8443. To auto start the Unifi Controller at boot: sudo systemctl enable rvice Install Unifi Controller: sudo apt-get update Install the rest of the prerequisites: sudo apt install ca-certificates apt-transport-https
sudo apt-get install openjdk-8-jre-headless -y Unfortunately, as of July 2021, the latest version of Java that the Unifi Controller supports is still Java 8. SSH into the Ubuntu 20.04 Server, or login to the console.Īdd the official repository for the Unifi Controller: echo 'deb stable ubiquiti' | sudo tee /etc/apt//100-ubnt-unifi.listĪdd the GPG keys so that the repository can be trusted: sudo wget -O /etc/apt//unifi-repo.gpg
Installing Unifi Controller on Ubuntu 20.04 Server
You can check out my guide here on how to setup Raspberry Pi OS.
The Unifi Controller is a software that can manage all the Unifi Access Points at once, and can be installed for free on Windows, Linux, or even a Raspberry Pi. They are packed with features and enterprise grade security, and are all centrally managed through a single controller interface called the Unifi Controller. The Ubiquiti Unifi Network lineup of Wireless Access Points are one of the best and affordable Access Points on the market for home and small business use.