I think I all most got it. I get this now at the end of the command:
An unexpected error occurred.
Error: unauthorized :: The client lacks sufficient authorization :: Error creating new authz :: Name is not whitelisted
Please see the logfiles in /var/log/letsencrypt for more details.
root@ICS32:~/letsencrypt#
Here is that /var/log/letsencrypt but I put XXXX.XX for my URL Don’t want to give it out. All so changed the http to NOLINK because it will not let me post more then 2 links.
It will not let me upload a .log file so I renamed it to .gif
Looks like that did not work so will have to just copy and paste the hole log here:
2015-11-02 22:05:26,012:DEBUG:letsencrypt.cli:Root logging level set at -40
2015-11-02 22:05:26,045:INFO:letsencrypt.cli:Saving debug log to /var/log/letsencrypt/letsencrypt.log
2015-11-02 22:05:26,078:DEBUG:letsencrypt.cli:letsencrypt version: 0.0.0.dev20151030
2015-11-02 22:05:26,112:DEBUG:letsencrypt.cli:Arguments: [’–agree-dev-preview’, ‘-d’, ‘XXX.XX’, ‘–server’, ‘NOLINKs://acme-v01.api.letsencrypt.org/directory’, ‘-vvvvvvv’]
2015-11-02 22:05:26,148:DEBUG:letsencrypt.cli:Discovered plugins: PluginsRegistry(PluginEntryPoint#apache,PluginEntryPoint#webroot,PluginEntryPoint#null,PluginEntryPoint#manual,PluginEntryPoint#standalone)
2015-11-02 22:05:26,208:DEBUG:letsencrypt.cli:Requested authenticator None and installer None
2015-11-02 22:05:27,335:DEBUG:letsencrypt.plugins.disco:Other error:(PluginEntryPoint#apache): (‘There has been an error in parsing the file (%s): %s’, u’/etc/apache2/conf-enabled/phpbb3.conf’, u’Syntax error’)
Traceback (most recent call last):
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/plugins/disco.py”, line 103, in prepare
self._initialized.prepare()
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt_apache/configurator.py”, line 153, in prepare
self.check_parsing_errors(“NOLINKd.aug”)
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt_apache/augeas_configurator.py”, line 64, in check_parsing_errors
raise errors.PluginError(msg)
PluginError: (‘There has been an error in parsing the file (%s): %s’, u’/etc/apache2/conf-enabled/phpbb3.conf’, u’Syntax error’)
2015-11-02 22:05:27,359:DEBUG:letsencrypt.plugins.disco:Other error:(PluginEntryPoint#webroot): --webroot-path must be set
Traceback (most recent call last):
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/plugins/disco.py”, line 103, in prepare
self._initialized.prepare()
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/plugins/webroot.py”, line 50, in prepare
self.option_name(“path”)))
PluginError: --webroot-path must be set
2015-11-02 22:05:27,392:DEBUG:letsencrypt.display.ops:Single candidate plugin: * standalone
Description: Automatically use a temporary webserver
Interfaces: IAuthenticator, IPlugin
Entry point: standalone = letsencrypt.plugins.standalone:Authenticator
Initialized: <letsencrypt.plugins.standalone.Authenticator object at 0x7fe0348df210>
Prep: True
2015-11-02 22:05:27,412:DEBUG:letsencrypt.cli:Selected authenticator <letsencrypt.plugins.standalone.Authenticator object at 0x7fe0348df210> and installer None
2015-11-02 22:05:27,482:DEBUG:letsencrypt.cli:Picked account: <Account(19f8c5dfdf782f0c1d5531f42386f79f)>
2015-11-02 22:05:27,501:DEBUG:root:Sending GET request to NOLINKs://acme-v01.api.letsencrypt.org/directory. args: (), kwargs: {}
2015-11-02 22:05:27,535:INFO:requests.packages.urllib3.connectionpool:Starting new NOLINKS connection (1): acme-v01.api.letsencrypt.org
2015-11-02 22:05:27,980:DEBUG:requests.packages.urllib3.connectionpool:“GET /directory NOLINK/1.1” 200 263
2015-11-02 22:05:28,042:DEBUG:root:Received <Response [200]>. Headers: {‘Content-Length’: ‘263’, ‘Expires’: ‘Mon, 02 Nov 2015 22:05:06 GMT’, ‘Strict-Transport-Security’: ‘max-age=604800’, ‘Server’: ‘nginx’, ‘Connection’: ‘keep-alive’, ‘Pragma’: ‘no-cache’, ‘Cache-Control’: ‘max-age=0, no-cache, no-store’, ‘Date’: ‘Mon, 02 Nov 2015 22:05:06 GMT’, ‘X-Frame-Options’: ‘DENY’, ‘Content-Type’: ‘application/json’, ‘Access-Control-Allow-Origin’: ‘’, ‘Replay-Nonce’: ‘66ocA-fVnBOlGA0RO1UZnpwt3ZeQX112aZVGm6lVipM’}. Content: '{“new-authz”:“NOLINKs://acme-v01.api.letsencrypt.org/acme/new-authz”,“new-cert”:“NOLINKs://acme-v01.api.letsencrypt.org/acme/new-cert”,“new-reg”:“NOLINKs://acme-v01.api.letsencrypt.org/acme/new-reg”,“revoke-cert”:“NOLINKs://acme-v01.api.letsencrypt.org/acme/revoke-cert”}'
2015-11-02 22:05:28,097:DEBUG:acme.client:Received response <Response [200]> (headers: {‘Content-Length’: ‘263’, ‘Expires’: ‘Mon, 02 Nov 2015 22:05:06 GMT’, ‘Strict-Transport-Security’: ‘max-age=604800’, ‘Server’: ‘nginx’, ‘Connection’: ‘keep-alive’, ‘Pragma’: ‘no-cache’, ‘Cache-Control’: ‘max-age=0, no-cache, no-store’, ‘Date’: ‘Mon, 02 Nov 2015 22:05:06 GMT’, ‘X-Frame-Options’: ‘DENY’, ‘Content-Type’: ‘application/json’, ‘Access-Control-Allow-Origin’: '’, ‘Replay-Nonce’: ‘66ocA-fVnBOlGA0RO1UZnpwt3ZeQX112aZVGm6lVipM’}): ‘{“new-authz”:“NOLINKs://acme-v01.api.letsencrypt.org/acme/new-authz”,“new-cert”:“NOLINKs://acme-v01.api.letsencrypt.org/acme/new-cert”,“new-reg”:“NOLINKs://acme-v01.api.letsencrypt.org/acme/new-reg”,“revoke-cert”:“NOLINKs://acme-v01.api.letsencrypt.org/acme/revoke-cert”}‘
2015-11-02 22:05:28,482:INFO:letsencrypt.crypto_util:Generating key (2048 bits): /etc/letsencrypt/keys/0003_key-letsencrypt.pem
2015-11-02 22:05:28,558:INFO:letsencrypt.crypto_util:Creating CSR: /etc/letsencrypt/csr/0003_csr-letsencrypt.pem
2015-11-02 22:05:28,597:DEBUG:letsencrypt.client:CSR: CSR(file=’/etc/letsencrypt/csr/0003_csr-letsencrypt.pem’, REMOVED KEY HERE, domains: [‘XXXX.XX’]
2015-11-02 22:05:28,637:DEBUG:root:Requesting fresh nonce
2015-11-02 22:05:28,671:DEBUG:root:Sending HEAD request to NOLINKs://acme-v01.api.letsencrypt.org/acme/new-authz. args: (), kwargs: {}
2015-11-02 22:05:28,703:INFO:requests.packages.urllib3.connectionpool:Starting new NOLINKS connection (1): acme-v01.api.letsencrypt.org
2015-11-02 22:05:29,212:DEBUG:requests.packages.urllib3.connectionpool:“HEAD /acme/new-authz NOLINK/1.1” 405 0
2015-11-02 22:05:29,277:DEBUG:root:Received <Response [405]>. Headers: {‘Content-Length’: ‘0’, ‘Pragma’: ‘no-cache’, ‘Expires’: ‘Mon, 02 Nov 2015 22:05:07 GMT’, ‘Server’: ‘nginx’, ‘Connection’: ‘keep-alive’, ‘Allow’: ‘POST’, ‘Cache-Control’: ‘max-age=0, no-cache, no-store’, ‘Date’: ‘Mon, 02 Nov 2015 22:05:07 GMT’, ‘Content-Type’: ‘application/problem+json’, ‘Replay-Nonce’: ‘cXQCXn48EbbNANsU2EdmpIbP_PI9B5m3y8AhSe9kmZ4’}. Content: ''
2015-11-02 22:05:29,331:DEBUG:acme.client:Storing nonce: 'qt\x02^~<\x11\xb6\xcd\x00\xdb\x14\xd8Gf\xa4\x86\xcf\xfc\xf2=\x07\x99\xb7\xcb\xc0!I\xefd\x99\x9e’
2015-11-02 22:05:29,380:DEBUG:acme.jose.json_util:Omitted empty fields: expires=None, challenges=None, status=None, combinations=None
2015-11-02 22:05:29,420:DEBUG:acme.client:Serialized JSON: {“identifier”: {“type”: “dns”, “value”: “XXXX.XX”}, “resource”: “new-authz”}
2015-11-02 22:05:29,480:DEBUG:acme.jose.json_util:Omitted empty fields: x5c=(), crit=(), kid=None, jwk=None, x5t=None, x5tS256=None, cty=None, x5u=None, typ=None, alg=None, jku=None
2015-11-02 22:05:29,559:DEBUG:acme.jose.json_util:Omitted empty fields: x5c=(), crit=(), kid=None, nonce=None, x5tS256=None, cty=None, x5t=None, x5u=None, typ=None, jku=None
2015-11-02 22:05:29,592:DEBUG:root:Sending POST request to NOLINKs://acme-v01.api.letsencrypt.org/acme/new-authz. args: (), kwargs: {‘data’: ‘{“header”: {“alg”: “RS256”, “jwk”: {“e”: “AQAB”, “kty”: “RSA”, “n”: “REMOVED RSA KEY HERE”}’}
2015-11-02 22:05:29,625:INFO:requests.packages.urllib3.connectionpool:Starting new NOLINKS connection (1): acme-v01.api.letsencrypt.org
2015-11-02 22:05:30,125:DEBUG:requests.packages.urllib3.connectionpool:“POST /acme/new-authz NOLINK/1.1” 403 101
2015-11-02 22:05:30,190:DEBUG:root:Received <Response [403]>. Headers: {‘Content-Length’: ‘101’, ‘Expires’: ‘Mon, 02 Nov 2015 22:05:08 GMT’, ‘Server’: ‘nginx’, ‘Connection’: ‘close’, ‘Pragma’: ‘no-cache’, ‘Cache-Control’: ‘max-age=0, no-cache, no-store’, ‘Date’: ‘Mon, 02 Nov 2015 22:05:08 GMT’, ‘Content-Type’: ‘application/problem+json’, ‘Replay-Nonce’: ‘umfGUbO7xpQJQsJjeeNQEfgGu9ccXVRvM7EoNbPsBo0’}. Content: '{“type”:“urn:acme:error:unauthorized”,“detail”:“Error creating new authz :: Name is not whitelisted”}'
2015-11-02 22:05:30,246:DEBUG:acme.client:Storing nonce: '\xbag\xc6Q\xb3\xbb\xc6\x94\tB\xc2cy\xe3P\x11\xf8\x06\xbb\xd7\x1c]To3\xb1(5\xb3\xec\x06\x8d’
2015-11-02 22:05:30,294:DEBUG:acme.client:Received response <Response [403]> (headers: {‘Content-Length’: ‘101’, ‘Expires’: ‘Mon, 02 Nov 2015 22:05:08 GMT’, ‘Server’: ‘nginx’, ‘Connection’: ‘close’, ‘Pragma’: ‘no-cache’, ‘Cache-Control’: ‘max-age=0, no-cache, no-store’, ‘Date’: ‘Mon, 02 Nov 2015 22:05:08 GMT’, ‘Content-Type’: ‘application/problem+json’, ‘Replay-Nonce’: ‘umfGUbO7xpQJQsJjeeNQEfgGu9ccXVRvM7EoNbPsBo0’}): '{“type”:“urn:acme:error:unauthorized”,“detail”:“Error creating new authz :: Name is not whitelisted”}'
2015-11-02 22:05:30,340:DEBUG:letsencrypt.cli:Exiting abnormally:
Traceback (most recent call last):
File “/root/.local/share/letsencrypt/bin/letsencrypt”, line 11, in
sys.exit(main())
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py”, line 1131, in main
return args.func(args, config, plugins)
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py”, line 489, in obtaincert
_auth_from_domains(le_client, config, domains, plugins)
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/cli.py”, line 327, in _auth_from_domains
lineage = le_client.obtain_and_enroll_certificate(domains, plugins)
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py”, line 229, in obtain_and_enroll_certificate
certr, chain, key, _ = self.obtain_certificate(domains)
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py”, line 212, in obtain_certificate
return self._obtain_certificate(domains, csr) + (key, csr)
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/client.py”, line 170, in _obtain_certificate
authzr = self.auth_handler.get_authorizations(domains)
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/letsencrypt/auth_handler.py”, line 74, in get_authorizations
domain, self.account.regr.new_authzr_uri)
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/client.py”, line 215, in request_domain_challenges
typ=messages.IDENTIFIER_FQDN, value=domain), new_authz_uri)
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/client.py”, line 195, in request_challenges
response = self.net.post(new_authzr_uri, new_authz)
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/client.py”, line 624, in post
return self._check_response(response, content_type=content_type)
File “/root/.local/share/letsencrypt/local/lib/python2.7/site-packages/acme/client.py”, line 542, in _check_response
raise messages.Error.from_json(jobj)
Error: unauthorized :: The client lacks sufficient authorization :: Error creating new authz :: Name is not whitelisted
-Raymond Day