Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2020-05-03 20:02:34,705:DEBUG:certbot.main:certbot version: 0.31.0
- 2020-05-03 20:02:34,706:DEBUG:certbot.main:Arguments: ['--dns-cloudflare', '--dns-cloudflare-credentials', '/root/.secrets/certbot/cloudflare.ini', '-d', 'rndevelopment.ga']
- 2020-05-03 20:02:34,706:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#dns-cloudflare,PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
- 2020-05-03 20:02:34,723:DEBUG:certbot.log:Root logging level set at 20
- 2020-05-03 20:02:34,742:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
- 2020-05-03 20:02:34,753:DEBUG:certbot.plugins.selection:Requested authenticator dns-cloudflare and installer None
- 2020-05-03 20:02:34,753:DEBUG:certbot.plugins.selection:Single candidate plugin: * dns-cloudflare
- Description: Obtain certificates using a DNS TXT record (if you are using Cloudflare for DNS).
- Interfaces: IAuthenticator, IPlugin
- Entry point: dns-cloudflare = certbot_dns_cloudflare.dns_cloudflare:Authenticator
- Initialized: <certbot_dns_cloudflare.dns_cloudflare.Authenticator object at 0x7f272515b4a8>
- Prep: True
- 2020-05-03 20:02:34,754:DEBUG:certbot.plugins.selection:Selected authenticator <certbot_dns_cloudflare.dns_cloudflare.Authenticator object at 0x7f272515b4a8> and installer None
- 2020-05-03 20:02:34,754:INFO:certbot.plugins.selection:Plugins selected: Authenticator dns-cloudflare, Installer None
- 2020-05-03 20:02:34,774:DEBUG:certbot.main:Picked account: <Account(RegistrationResource(body=Registration(key=None, contact=(), agreement=None, status=None, terms_of_service_agreed=None, only_return_existing=None, external_account_binding=None), uri='https://acme-v02.api.letsencrypt.org/acme/acct/85165158', new_authzr_uri=None, terms_of_service=None), 7cc5abe121abb1b2dae813d463c74ec7, Meta(creation_dt=datetime.datetime(2020, 5, 3, 17, 35, 16, tzinfo=<UTC>), creation_host='proxy.rndevelopment.ga'))>
- 2020-05-03 20:02:34,776:DEBUG:acme.client:Sending GET request to https://acme-v02.api.letsencrypt.org/directory.
- 2020-05-03 20:02:34,780:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): acme-v02.api.letsencrypt.org:443
- 2020-05-03 20:02:35,413:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "GET /directory HTTP/1.1" 200 658
- 2020-05-03 20:02:35,414:DEBUG:acme.client:Received response:
- HTTP 200
- Server: nginx
- Date: Sun, 03 May 2020 18:02:35 GMT
- Content-Type: application/json
- Content-Length: 658
- Connection: keep-alive
- Cache-Control: public, max-age=0, no-cache
- X-Frame-Options: DENY
- Strict-Transport-Security: max-age=604800
- {
- "CfADr5vVGQ4": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417",
- "keyChange": "https://acme-v02.api.letsencrypt.org/acme/key-change",
- "meta": {
- "caaIdentities": [
- "letsencrypt.org"
- ],
- "termsOfService": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf",
- "website": "https://letsencrypt.org"
- },
- "newAccount": "https://acme-v02.api.letsencrypt.org/acme/new-acct",
- "newNonce": "https://acme-v02.api.letsencrypt.org/acme/new-nonce",
- "newOrder": "https://acme-v02.api.letsencrypt.org/acme/new-order",
- "revokeCert": "https://acme-v02.api.letsencrypt.org/acme/revoke-cert"
- }
- 2020-05-03 20:02:35,420:INFO:certbot.main:Obtaining a new certificate
- 2020-05-03 20:02:35,467:DEBUG:certbot.crypto_util:Generating key (2048 bits): /etc/letsencrypt/keys/0002_key-certbot.pem
- 2020-05-03 20:02:35,471:DEBUG:certbot.crypto_util:Creating CSR: /etc/letsencrypt/csr/0002_csr-certbot.pem
- 2020-05-03 20:02:35,472:DEBUG:acme.client:Requesting fresh nonce
- 2020-05-03 20:02:35,472:DEBUG:acme.client:Sending HEAD request to https://acme-v02.api.letsencrypt.org/acme/new-nonce.
- 2020-05-03 20:02:35,621:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "HEAD /acme/new-nonce HTTP/1.1" 200 0
- 2020-05-03 20:02:35,622:DEBUG:acme.client:Received response:
- HTTP 200
- Server: nginx
- Date: Sun, 03 May 2020 18:02:35 GMT
- Connection: keep-alive
- Cache-Control: public, max-age=0, no-cache
- Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
- Replay-Nonce: 0002brhr_BACRPnpl8qQYNggSg_pY5ztmmAxvoCo2AENTBY
- X-Frame-Options: DENY
- Strict-Transport-Security: max-age=604800
- 2020-05-03 20:02:35,622:DEBUG:acme.client:Storing nonce: 0002brhr_BACRPnpl8qQYNggSg_pY5ztmmAxvoCo2AENTBY
- 2020-05-03 20:02:35,622:DEBUG:acme.client:JWS payload:
- b'{\n "identifiers": [\n {\n "type": "dns",\n "value": "rndevelopment.ga"\n }\n ]\n}'
- 2020-05-03 20:02:35,625:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/new-order:
- {
- "protected": "eyJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2FjY3QvODUxNjUxNTgiLCAibm9uY2UiOiAiMDAwMmJyaHJfQkFDUlBucGw4cVFZTmdnU2dfcFk1enRtbUF4dm9DbzJBRU5UQlkiLCAidXJsIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL25ldy1vcmRlciJ9",
- "signature": "vbTlZ1ZCLx19M80AhYWPn-Nr0ppV0MRltCxACFQ1kzcMlRMk9XvK9M8XHTJ_99rymxDeADwp3LXMRxktTEBpuUNPD0eb79ahSukSpD97BG49yVEpmWh_OFUyHHfr7aZO302zMQsOHXE_dny81WF21lyLuNuK2yHuTlN_6owt_0Iu4CYbZPFyqwmo49qrfWVt6uIdz2tCH914e-3DSZ54hqKg_UBYo4DhXNJEj7elc-8CbM6DyKutA5-WIXjGFoAGUsqU4228R2XbUcy6lvOkHpwQF6VrS2HwjdXf8yGcf3hVbL8uOjlDZyYGUiXwbEQjE3sPlUf3aQVAAHl7BV9amQ",
- "payload": "ewogICJpZGVudGlmaWVycyI6IFsKICAgIHsKICAgICAgInR5cGUiOiAiZG5zIiwKICAgICAgInZhbHVlIjogInJuZGV2ZWxvcG1lbnQuZ2EiCiAgICB9CiAgXQp9"
- }
- 2020-05-03 20:02:35,801:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/new-order HTTP/1.1" 201 336
- 2020-05-03 20:02:35,801:DEBUG:acme.client:Received response:
- HTTP 201
- Server: nginx
- Date: Sun, 03 May 2020 18:02:35 GMT
- Content-Type: application/json
- Content-Length: 336
- Connection: keep-alive
- Boulder-Requester: 85165158
- Cache-Control: public, max-age=0, no-cache
- Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
- Location: https://acme-v02.api.letsencrypt.org/acme/order/85165158/3226269039
- Replay-Nonce: 0001UsGNrtH3pay0h_Gn-Yg2UDkwdANAAbcnQqhAOQ4BqMU
- X-Frame-Options: DENY
- Strict-Transport-Security: max-age=604800
- {
- "status": "pending",
- "expires": "2020-05-10T17:35:24Z",
- "identifiers": [
- {
- "type": "dns",
- "value": "rndevelopment.ga"
- }
- ],
- "authorizations": [
- "https://acme-v02.api.letsencrypt.org/acme/authz-v3/4341020019"
- ],
- "finalize": "https://acme-v02.api.letsencrypt.org/acme/finalize/85165158/3226269039"
- }
- 2020-05-03 20:02:35,801:DEBUG:acme.client:Storing nonce: 0001UsGNrtH3pay0h_Gn-Yg2UDkwdANAAbcnQqhAOQ4BqMU
- 2020-05-03 20:02:35,802:DEBUG:acme.client:JWS payload:
- b''
- 2020-05-03 20:02:35,804:DEBUG:acme.client:Sending POST request to https://acme-v02.api.letsencrypt.org/acme/authz-v3/4341020019:
- {
- "protected": "eyJhbGciOiAiUlMyNTYiLCAia2lkIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2FjY3QvODUxNjUxNTgiLCAibm9uY2UiOiAiMDAwMVVzR05ydEgzcGF5MGhfR24tWWcyVURrd2RBTkFBYmNuUXFoQU9RNEJxTVUiLCAidXJsIjogImh0dHBzOi8vYWNtZS12MDIuYXBpLmxldHNlbmNyeXB0Lm9yZy9hY21lL2F1dGh6LXYzLzQzNDEwMjAwMTkifQ",
- "signature": "NXw8uYbtVJeMaFa_lL7PTGmUTUlas5msmgMkE-3cTHS8Bax8Q4Z1ouyssGE4KT_q4H_49imrwIleLIfeW0KOWPSkAT-l5SfxOicXCyj3utEvPBMm5Tf043G1kuTbHWyY7W-wWWDKNB1c5r48YrKbP3IxK6ZEWJGjTnwZ7XGuyelqij-dSMp3nF5ohaKNq9qvkQHl4u-rq0yOyRnFBHanGsxjlnzcTuIyL-dYkwJmrGq0vMsnvWjjgx3Nk2Tb92diwbG6OFBiGirWN1_d5-SGs1ujdxV5zSPXKyFeuTXaaAEO3yPl1RXZe6e0RZVqEKUuk9nDKAKupeXe4YNFHh8tjA",
- "payload": ""
- }
- 2020-05-03 20:02:35,955:DEBUG:urllib3.connectionpool:https://acme-v02.api.letsencrypt.org:443 "POST /acme/authz-v3/4341020019 HTTP/1.1" 200 794
- 2020-05-03 20:02:35,956:DEBUG:acme.client:Received response:
- HTTP 200
- Server: nginx
- Date: Sun, 03 May 2020 18:02:35 GMT
- Content-Type: application/json
- Content-Length: 794
- Connection: keep-alive
- Boulder-Requester: 85165158
- Cache-Control: public, max-age=0, no-cache
- Link: <https://acme-v02.api.letsencrypt.org/directory>;rel="index"
- Replay-Nonce: 0001t6W5NwfQkbmmIOailQzDhCB07eExqZ_Hoqu70h8XGvI
- X-Frame-Options: DENY
- Strict-Transport-Security: max-age=604800
- {
- "identifier": {
- "type": "dns",
- "value": "rndevelopment.ga"
- },
- "status": "pending",
- "expires": "2020-05-10T17:35:24Z",
- "challenges": [
- {
- "type": "http-01",
- "status": "pending",
- "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/4341020019/YJzdig",
- "token": "3GsT9A76RZPgiR7CTzluocrCdzlq_zKLF-KkjMlzCrY"
- },
- {
- "type": "dns-01",
- "status": "pending",
- "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/4341020019/68sOPQ",
- "token": "3GsT9A76RZPgiR7CTzluocrCdzlq_zKLF-KkjMlzCrY"
- },
- {
- "type": "tls-alpn-01",
- "status": "pending",
- "url": "https://acme-v02.api.letsencrypt.org/acme/chall-v3/4341020019/V5QMJg",
- "token": "3GsT9A76RZPgiR7CTzluocrCdzlq_zKLF-KkjMlzCrY"
- }
- ]
- }
- 2020-05-03 20:02:35,956:DEBUG:acme.client:Storing nonce: 0001t6W5NwfQkbmmIOailQzDhCB07eExqZ_Hoqu70h8XGvI
- 2020-05-03 20:02:35,957:INFO:certbot.auth_handler:Performing the following challenges:
- 2020-05-03 20:02:35,957:INFO:certbot.auth_handler:dns-01 challenge for rndevelopment.ga
- 2020-05-03 20:02:35,966:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.cloudflare.com:443
- 2020-05-03 20:02:36,283:DEBUG:urllib3.connectionpool:https://api.cloudflare.com:443 "GET /client/v4/zones?name=rndevelopment.ga&per_page=1 HTTP/1.1" 200 None
- 2020-05-03 20:02:36,284:DEBUG:certbot_dns_cloudflare.dns_cloudflare:Found zone_id of ef927dc2fece1c17b6a6b9de238a116f for rndevelopment.ga using name rndevelopment.ga
- 2020-05-03 20:02:36,284:DEBUG:certbot_dns_cloudflare.dns_cloudflare:Attempting to add record to zone ef927dc2fece1c17b6a6b9de238a116f: {'type': 'TXT', 'name': '_acme-challenge.rndevelopment.ga', 'content': 'tyNXAZzy6rxRmsjw6vlpbU9tPLeyY1B6MxzEcY1Itmc', 'ttl': 120}
- 2020-05-03 20:02:36,524:DEBUG:urllib3.connectionpool:https://api.cloudflare.com:443 "POST /client/v4/zones/ef927dc2fece1c17b6a6b9de238a116f/dns_records HTTP/1.1" 401 None
- 2020-05-03 20:02:36,528:DEBUG:certbot.error_handler:Encountered exception:
- Traceback (most recent call last):
- File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 75, in handle_authorizations
- resp = self._solve_challenges(aauthzrs)
- File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 139, in _solve_challenges
- resp = self.auth.perform(all_achalls)
- File "/usr/lib/python3/dist-packages/certbot/plugins/dns_common.py", line 57, in perform
- self._perform(domain, validation_domain_name, validation)
- File "/usr/lib/python3/dist-packages/certbot_dns_cloudflare/dns_cloudflare.py", line 52, in _perform
- self._get_cloudflare_client().add_txt_record(domain, validation_name, validation, self.ttl)
- File "/usr/lib/python3/dist-packages/certbot_dns_cloudflare/dns_cloudflare.py", line 89, in add_txt_record
- self.cf.zones.dns_records.post(zone_id, data=data) # zones | pylint: disable=no-member
- File "/usr/lib/python3/dist-packages/CloudFlare/cloudflare.py", line 632, in post
- params, data, files)
- File "/usr/lib/python3/dist-packages/CloudFlare/cloudflare.py", line 75, in call_with_auth
- params, data, files)
- File "/usr/lib/python3/dist-packages/CloudFlare/cloudflare.py", line 449, in _call
- code = errors['code']
- KeyError: 'code'
- 2020-05-03 20:02:36,529:DEBUG:certbot.error_handler:Calling registered functions
- 2020-05-03 20:02:36,529:INFO:certbot.auth_handler:Cleaning up challenges
- 2020-05-03 20:02:36,532:DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): api.cloudflare.com:443
- 2020-05-03 20:02:36,844:DEBUG:urllib3.connectionpool:https://api.cloudflare.com:443 "GET /client/v4/zones?name=rndevelopment.ga&per_page=1 HTTP/1.1" 200 None
- 2020-05-03 20:02:36,845:DEBUG:certbot_dns_cloudflare.dns_cloudflare:Found zone_id of ef927dc2fece1c17b6a6b9de238a116f for rndevelopment.ga using name rndevelopment.ga
- 2020-05-03 20:02:37,109:DEBUG:urllib3.connectionpool:https://api.cloudflare.com:443 "GET /client/v4/zones/ef927dc2fece1c17b6a6b9de238a116f/dns_records?type=TXT&name=_acme-challenge.rndevelopment.ga&content=tyNXAZzy6rxRmsjw6vlpbU9tPLeyY1B6MxzEcY1Itmc&per_page=1 HTTP/1.1" 200 None
- 2020-05-03 20:02:37,110:DEBUG:certbot_dns_cloudflare.dns_cloudflare:Unable to find TXT record.
- 2020-05-03 20:02:37,110:DEBUG:certbot_dns_cloudflare.dns_cloudflare:TXT record not found; no cleanup needed.
- 2020-05-03 20:02:37,111:DEBUG:certbot.log:Exiting abnormally:
- Traceback (most recent call last):
- File "/usr/bin/certbot", line 11, in <module>
- load_entry_point('certbot==0.31.0', 'console_scripts', 'certbot')()
- File "/usr/lib/python3/dist-packages/certbot/main.py", line 1365, in main
- return config.func(config, plugins)
- File "/usr/lib/python3/dist-packages/certbot/main.py", line 1250, in certonly
- lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
- File "/usr/lib/python3/dist-packages/certbot/main.py", line 121, in _get_and_save_cert
- lineage = le_client.obtain_and_enroll_certificate(domains, certname)
- File "/usr/lib/python3/dist-packages/certbot/client.py", line 410, in obtain_and_enroll_certificate
- cert, chain, key, _ = self.obtain_certificate(domains)
- File "/usr/lib/python3/dist-packages/certbot/client.py", line 353, in obtain_certificate
- orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
- File "/usr/lib/python3/dist-packages/certbot/client.py", line 389, in _get_order_and_authorizations
- authzr = self.auth_handler.handle_authorizations(orderr, best_effort)
- File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 75, in handle_authorizations
- resp = self._solve_challenges(aauthzrs)
- File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 139, in _solve_challenges
- resp = self.auth.perform(all_achalls)
- File "/usr/lib/python3/dist-packages/certbot/plugins/dns_common.py", line 57, in perform
- self._perform(domain, validation_domain_name, validation)
- File "/usr/lib/python3/dist-packages/certbot_dns_cloudflare/dns_cloudflare.py", line 52, in _perform
- self._get_cloudflare_client().add_txt_record(domain, validation_name, validation, self.ttl)
- File "/usr/lib/python3/dist-packages/certbot_dns_cloudflare/dns_cloudflare.py", line 89, in add_txt_record
- self.cf.zones.dns_records.post(zone_id, data=data) # zones | pylint: disable=no-member
- File "/usr/lib/python3/dist-packages/CloudFlare/cloudflare.py", line 632, in post
- params, data, files)
- File "/usr/lib/python3/dist-packages/CloudFlare/cloudflare.py", line 75, in call_with_auth
- params, data, files)
- File "/usr/lib/python3/dist-packages/CloudFlare/cloudflare.py", line 449, in _call
- code = errors['code']
- KeyError: 'code'
- 2020-05-03 20:02:37,115:ERROR:certbot.log:An unexpected error occurred:
Add Comment
Please, Sign In to add comment