Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian error #16

Open
Theolodewijk opened this issue Sep 10, 2017 · 8 comments
Open

Debian error #16

Theolodewijk opened this issue Sep 10, 2017 · 8 comments

Comments

@Theolodewijk
Copy link

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
Copy link
Author

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

@Theolodewijk
Copy link
Author

No support here ?

@murdz112
Copy link

I'm getting the same error :(

@seanmavley
Copy link

@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

@the-random-user
Copy link

So what was the fix?

@seanmavley
Copy link

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

@acoolov
Copy link

acoolov commented Sep 18, 2018

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

@flmdsoundman
Copy link

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

Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants