# Using Lets Encrypt to secure cloud-hosted services like Ubiquiti's mFi, Unifi and Unifi Video

DevFeed: [Using Lets Encrypt to secure cloud-hosted services like Ubiquiti's mFi, Unifi and Unifi Video](<https://devfeed.tech/articles/using-lets-encrypt-to-secure-cloud-hosted-services-like-ubiquiti-s-mfi-unifi-and-unifi-video-21110.md>)

Original publisher: [Read original article](<https://lg.io/2015/12/13/using-lets-encrypt-to-secure-cloud-hosted-services-like-ubiquitis-mfi-unifi-and-unifi-video.html>)

Published: 2015-12-13T08:00:00Z

Content type: tutorial

Language: en

Sources: [Larry Land](<https://devfeed.tech/sources/larry-land.md>)

Topics: [SSL](<https://devfeed.tech/topics/ssl.md>), [Encryption](<https://devfeed.tech/topics/encryption.md>), [Ubiquiti](<https://devfeed.tech/topics/ubiquiti.md>), [Amazon EC2](<https://devfeed.tech/topics/amazon-ec2.md>)

Tags: [ec2](<https://devfeed.tech/tags/ec2.md>), [encryption](<https://devfeed.tech/tags/encryption.md>), [ssl](<https://devfeed.tech/tags/ssl.md>), [ubiquiti](<https://devfeed.tech/tags/ubiquiti.md>), [unifi](<https://devfeed.tech/tags/unifi.md>), [video](<https://devfeed.tech/tags/video.md>)

## AI overview

A tutorial explains how to use Let's Encrypt to obtain and renew free SSL certificates for Ubiquiti mFi, UniFi, and UniFi Video controller services hosted on Amazon EC2. It also notes that the mFi product line has been discontinued.

## Source excerpt

Updated Nov 27, 2018: Updated credentials for new unifi versions (uses a new username) Updated Jul 31, 2016: Moved away from letsencrypt-auto and switched to certbot, updated the auto-renewal script, and changed the suggested cron time to weekly. Also made mention that mFi series has been discontinued. Finally, fixed the install instructions for Unifi Video. Wow - I got myself a free signed SSL cert for my WiFi controller! Lets Encrypt recently was released and is definitely super interesting. They basically issue SSL Certificates for free. SSL Certs typically would cost hundreds of dollars per domain and even more for Wildcard certificates. It's insane, it's essentially an entire industry predecated around artificial pricing for something that is essentially zero cost to generate and maintain. Not to mention holding back security and encryption on the web since not just anyone can afford hundreds of dollars a year for a cert. This entire industry is holding back progress at a massive scale, so we're going to fix that :) With Lets Encrypt, this is all free now. As cost is no longer a problem, we can encrypt other communication like router config landing pages and other services. No need for self-signed certificates that your browser freaks out about when navigating to. Now we can have real certs! As I'm a big fan of Ubiquiti products, I'm going to show some examples in this article for how to use Lets Encrypt to generate certificates that are compatible with the mFi automation stuff, Ubiquiti's Unifi wifi controller and their Unifi Video series for surveillance. Ubiquiti, as they're an enterprise company, [imo wrongly] expects companies to want to host the backing controller software for these devices on-site. We're going to host them on EC2 though, so we don't need to manage servers or have people tripping over power cables. Since we're on the internet though, we need proper SSL to prevent the NSA and all their shenanigans. Ubiquiti's mFi, Unifi wireless and Unifi