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

Let's Encrypt fails to authorize #117

Open
phizaz opened this issue Feb 27, 2017 · 0 comments
Open

Let's Encrypt fails to authorize #117

phizaz opened this issue Feb 27, 2017 · 0 comments

Comments

@phizaz
Copy link

phizaz commented Feb 27, 2017

I'm using l3iggs/owncloud:9.1.2-1

The problem is with setup-apache-ssl-key:
Failed authorization procedure. domain.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from domain.com

Actually, I saw that the httpd config, to be specific /etc/httpd/extra/httpd-acme.conf, has this Alias /.well-known/acme-challenge/ "/var/lib/letsencrypt/.well-known/acme-challenge/"

I tested that apache really points .well-known/acme-challenge to the /var/lib/letsencrypt/... dir.

Here is the problem, in the file /usr/sbin/setup-apache-ssl-key, I saw this line certbot --text --debug --agree-tos --email ${EMAIL} --webroot -w /srv/http/ -d ${HOSTNAME} certonly, if I am right I think it should be /var/lib/letsencrypt/ instead of /srv/http

Update: I confirm that it's the case, I update the setup-apache-ssl-key and everything now works.

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

1 participant