unifi-linux-utils icon indicating copy to clipboard operation
unifi-linux-utils copied to clipboard

Debian error

Open Theolodewijk opened this issue 8 years ago • 8 comments

I get the follow error after I follow https://blog.khophi.co/use-letsencrypt-unifi-controller-ubuntu/

sudo ./unifi_ssl_import.sh

Starting UniFi Controller SSL Import...

Running in Let's Encrypt Mode...

Inspecting current SSL certificate...

Updated SSL certificate available. Proceeding with import...

Missing one or more required files. Check your settings.

Theolodewijk avatar Sep 10 '17 20:09 Theolodewijk

celan install last debian version, up to date. clean install unifi controler 5.5.20

Theolodewijk avatar Sep 10 '17 21:09 Theolodewijk

No support here ?

Theolodewijk avatar Sep 18 '17 10:09 Theolodewijk

I'm getting the same error :(

murdz112 avatar Jan 30 '18 03:01 murdz112

@Theolodewijk Hi,

I just faced a similar issue. Solution was, there is/was a mismatch in the ssl generated. To explain.

If you generated your ssl with letsencrypt using a command like

sudo letsencrypt certonly --standalone --email [email protected] --text -d domain.com -d www.domain.com

Then in your ./unifi_ssl_import.sh, for the UNIFI_HOSTNAME, the value should be domain.com, and not www.domain.com

Letsencrypt uses the first domain to create the live, folder in /etc/letsencrypt

seanmavley avatar Apr 03 '18 23:04 seanmavley

So what was the fix?

the-random-user avatar Apr 04 '18 00:04 the-random-user

The error was a domain hostname mismatch. Solution was ensuring the domain name in the /etc/letsencrypt matches what's in the SSL import file

seanmavley avatar Apr 04 '18 00:04 seanmavley

I got the same error. How do I fix it?

acoolov avatar Sep 18 '18 04:09 acoolov

Same error here, clean install of everything, domain name matches.

Any update?

flmdsoundman avatar Dec 05 '23 17:12 flmdsoundman