Let's Encrypt Unifi controller with Eclipse Java

I would say yes; but UniFi Network Application has its own quirks.

1 Like

Have you got LE certificate on your debian unifi?

I am a bit in doubt. I could also just buy a sectigo certicate and import this one. But because this is so easy to do i find it hard to belief that a LE certificate is that much more difficult to do.

I have not; so kindly wait for more knowledgeable and experienced Let's Encrypt community volunteers to assist.

Depending on how much available memory it has...
You could use Hyper-V to install any type of VM [with it's own IP].
Something like:
Ubuntu 22 with certbot [would be a very simple solution]

You could obtain/maintain the cert(s) within that VM.
Then export/use them as needed [wherever needed].

3 Likes

I am not unbiased, but IMNSHO everything is easier on Debian.

3 Likes

Where is am in the *BSD camp (OpenBSD, FreeBSD, HardenedBSD); real UNIX!

1 Like

I don't know that directing @Operations migrate the UniFi controller to Linux is best, just because it is what some of us, myself included, would do.

There are Community members here that are skilled with Let's Encrypt on Windows, and probably even enjoy it. It be might worth seeing if they can help. I don't know if you can edit the topic title, but it would be useful to specify on Windows since most readers are likely to assume Linux when reading UniFi Controller.

3 Likes

I run PfSense. I also run HASS on Debian. But still have to admit for a hardcore windows person like myself. It is hard, i try to do more and more on debian but like with this unifi controller. I know what to do now, if i just buy a sectigo certificate everything is done. And if i move to debian still a lot of unknown terrority

So if i move to unifi controller on debian you can tell me how to get LE working?

1 Like

Have you read this topic?

2 Likes

It seems to be difficult even for:

So, I opened the door to any other O/S:

Yes, I went further to put a very simple example:

But that was only to cover the already referenced:

2 Likes

I have also got an ESX 7 server. So running a VM is no problem.

One of the things that holds me back a bit is that setting it up is something i often will get done. I also run Nextclould on Debian. But what i am afraid is that when it doesnt work anymore... troubleshooting.. i often wouldnt even know where to start.

Ubuntu... i always thought Debian is the better choice for server things to run on. You don't agree?

1 Like

I don't disagree.
Choices are free to be made.
I just went with what was being referred to.

2 Likes

If i make the change. I think i will switch to Debian instead of Ubuntu.

Your certbot command in Ubuntu does that also work in Debian? Or do you know what command i should use in Debian?

Do you know if this will work?

apt install openjdk-11-jre-headless

MongoDB 3.6

wget -qO - https://www.mongodb.org/static/pgp/server-3.6.asc | sudo apt-key add -
echo "deb MongoDB Repositories stretch/mongodb-org/3.6 main" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.6.list

Unifi

sudo apt-get update && sudo apt-get install -y ca-certificates apt-transport-https
echo 'deb https://www.ui.com/downloads/unifi/debian stable ubiquiti' | sudo tee /etc/apt/sources.list.d/100-ubnt-unifi.list
sudo wget -O /etc/apt/trusted.gpg.d/unifi-repo.gpg https://dl.ui.com/unifi/unifi-repo.gpg
sudo apt-get update && sudo apt-get install unifi -y

Here's an older thread that I had helped someone with getting a cert for their Windows UniFi Controller (6.x) that might be of use. Not sure how much the app has changed since then with regards to its cert config. There were definitely some quirks with that old version.

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.