Update: in this plug-in version, even though that my OwnCloud installation directory is non-default, I still had to used the default path to get it to work:
/var/www/openmediavault/
Code
2016-03-13 01:19:39,065:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2016-03-13 01:19:39,336:DEBUG:requests.packages.urllib3.connectionpool:"POST /acme/new-authz HTTP/1.1" 201 781
2016-03-13 01:19:39,337:DEBUG:root:Received <Response [201]>. Headers: {'Content-Length': '781', 'Expires': 'Sun, 13 Mar 2016 01:19:39 GMT', 'Strict-Transport-Security$
2016-03-13 01:19:39,337:DEBUG:acme.client:Storing nonce: '\xfdD\x1d8\xcf\n\xe8\x82Cx\xa0\x8a\xe8[\x1e\xe5\x13\xd4/\xdf+\xfb\xe4\xc9\x95\xf9\x1d\x8d\xe1\xb1c\xc3'
2016-03-13 01:19:39,337:DEBUG:acme.client:Received response <Response [201]> (headers: {'Content-Length': '781', 'Expires': 'Sun, 13 Mar 2016 01:19:39 GMT', 'Strict-Tr$
2016-03-13 01:19:39,337:DEBUG:acme.challenges:dns-01 was not recognized, full message: {u'status': u'pending', u'token': u'tGRBiQj4-6SWw8seXBrKzH6Vmc9mVseHt1lyQkUilzg'$
2016-03-13 01:19:39,338:INFO:letsencrypt.auth_handler:Performing the following challenges:
2016-03-13 01:19:39,338:INFO:letsencrypt.auth_handler:http-01 challenge for xyz.abc.com
2016-03-13 01:19:39,340:DEBUG:letsencrypt.plugins.webroot:Attempting to save validation to /media/54bf67db-da31-4c50-bb3c-27140944b223/www/owncloud/.well-known/acme-ch$
2016-03-13 01:19:39,340:INFO:letsencrypt.auth_handler:Waiting for verification...
2016-03-13 01:19:39,340:DEBUG:acme.client:Serialized JSON: {"keyAuthorization": "54wTDyZ_mhAyrBM4TUzzdEgLGm9iYIdo--j3VGKzXtY.H24cPs1SHSdw-KOEirC4IQHkcg91Wb473qAoG9TYm2$
2016-03-13 01:19:39,341:DEBUG:acme.jose.json_util:Omitted empty fields: kid=None, x5c=(), crit=(), typ=None, jwk=None, alg=None, jku=None, cty=None, x5tS256=None, x5u=$
2016-03-13 01:19:39,342:DEBUG:acme.jose.json_util:Omitted empty fields: kid=None, x5c=(), crit=(), typ=None, jku=None, cty=None, x5tS256=None, x5u=None, x5t=None, nonc$
2016-03-13 01:19:39,342:DEBUG:root:Sending POST request to https://acme-v01.api.letsencrypt.org/acme/challenge/3LjWWMS2ymZ81SLg-sag8AC0CAtxeiq0_3teqntXHso/27266887. ar$
2016-03-13 01:19:39,343:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2016-03-13 01:19:39,533:DEBUG:requests.packages.urllib3.connectionpool:"POST /acme/challenge/3LjWWMS2ymZ81SLg-sag8AC0CAtxeiq0_3teqntXHso/27266887 HTTP/1.1" 202 313
2016-03-13 01:19:39,534:DEBUG:root:Received <Response [202]>. Headers: {'Content-Length': '313', 'Expires': 'Sun, 13 Mar 2016 01:19:39 GMT', 'Server': 'nginx', 'Connec$
2016-03-13 01:19:39,534:DEBUG:acme.client:Storing nonce: 'En\xb7\x1e\xd9\x0cw\x0e\xe5:\xf6\x9d\xc6\xaaX(\xca\xe2\xb1f\xe7\x0bN\xc6\x1d1Q\xe0y\x7fw\xd8'
2016-03-13 01:19:39,534:DEBUG:acme.client:Received response <Response [202]> (headers: {'Content-Length': '313', 'Expires': 'Sun, 13 Mar 2016 01:19:39 GMT', 'Server': $
2016-03-13 01:19:42,538:DEBUG:root:Sending GET request to https://acme-v01.api.letsencrypt.org/acme/authz/3LjWWMS2ymZ81SLg-sag8AC0CAtxeiq0_3teqntXHso. args: (), kwargs$
2016-03-13 01:19:42,538:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-v01.api.letsencrypt.org
2016-03-13 01:19:42,730:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/3LjWWMS2ymZ81SLg-sag8AC0CAtxeiq0_3teqntXHso HTTP/1.1" 200 1250
2016-03-13 01:19:42,731:DEBUG:root:Received <Response [200]>. Headers: {'Content-Length': '1250', 'Expires': 'Sun, 13 Mar 2016 01:19:42 GMT', 'Strict-Transport-Securit$
2016-03-13 01:19:42,732:DEBUG:acme.client:Received response <Response [200]> (headers: {'Content-Length': '1250', 'Expires': 'Sun, 13 Mar 2016 01:19:42 GMT', 'Strict-T$
2016-03-13 01:19:42,732:DEBUG:acme.challenges:dns-01 was not recognized, full message: {u'status': u'pending', u'token': u'tGRBiQj4-6SWw8seXBrKzH6Vmc9mVseHt1lyQkUilzg'$
2016-03-13 01:19:42,732:INFO:letsencrypt.reporter:Reporting to user: The following errors were reported by the server:
Domain: xyz.abc.com
Type: unauthorized
Detail: Error parsing key authorization file: Invalid key authorization: 6 parts
To fix these errors, please make sure that your domain name was entered correctly and the DNS A record(s) for that domain contain(s) the right IP address.
2016-03-13 01:19:42,732:INFO:letsencrypt.auth_handler:Cleaning up challenges
2016-03-13 01:19:42,733:DEBUG:letsencrypt.plugins.webroot:Removing /media/54bf67db-da31-4c50-bb3c-27140944b223/www/owncloud/.well-known/acme-challenge/54wTDyZ_mhAyrBM4$
2016-03-13 01:19:42,733:DEBUG:letsencrypt.plugins.webroot:All challenges cleaned up, removing /media/54bf67db-da31-4c50-bb3c-27140944b223/www/owncloud/.well-known/acme$
2016-03-13 01:19:42,733:DEBUG:letsencrypt.cli:Exiting abnormally:
Traceback (most recent call last):
File "~/.local/share/letsencrypt/bin/letsencrypt", line 9, in <module>
load_entry_point('letsencrypt==0.4.2', 'console_scripts', 'letsencrypt')()
File "/~/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py", line 1993, in main
return config.func(config, plugins)
File "/~/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py", line 707, in obtain_cert
_, action = _auth_from_domains(le_client, config, domains, lineage)
File "/~/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py", line 475, in _auth_from_domains
lineage = le_client.obtain_and_enroll_certificate(domains)
File "/~/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py", line 269, in obtain_and_enroll_certificate
certr, chain, key, _ = self.obtain_certificate(domains)
File "/~/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py", line 252, in obtain_certificate
return self.obtain_certificate_from_csr(domains, csr) + (key, csr)
File "/~/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py", line 225, in obtain_certificate_from_csr
authzr = self.auth_handler.get_authorizations(domains)
File "/~/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/auth_handler.py", line 84, in get_authorizations
self._respond(cont_resp, dv_resp, best_effort)
File "/~/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/auth_handler.py", line 142, in _respond
self._poll_challenges(chall_update, best_effort)
File "/~/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/auth_handler.py", line 204, in _poll_challenges
raise errors.FailedChallenges(all_failed_achalls)
FailedChallenges: Failed authorization procedure. xyz.abc.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Error pars$
Alles anzeigen