Advertisement
Guest User

Untitled

a guest
Mar 28th, 2018
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 26.88 KB | None | 0 0
  1. <code>
  2. 2018-03-28 09:22:37,938:DEBUG:certbot.main:certbot version: 0.22.2
  3. 2018-03-28 09:22:37,942:DEBUG:certbot.main:Arguments: ['--dry-run', '-d', 'sitename.ru', '-d', 'www.sitename.ru']
  4. 2018-03-28 09:22:37,942:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
  5. 2018-03-28 09:22:37,960:DEBUG:certbot.log:Root logging level set at 20
  6. 2018-03-28 09:22:37,961:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
  7. 2018-03-28 09:22:37,964:DEBUG:certbot.plugins.selection:Requested authenticator None and installer None
  8. 2018-03-28 09:22:38,801:DEBUG:certbot.plugins.selection:Multiple candidate plugins: * nginx
  9. Description: Nginx Web Server plugin - Alpha
  10. Interfaces: IAuthenticator, IInstaller, IPlugin
  11. Entry point: nginx = certbot_nginx.configurator:NginxConfigurator
  12. Initialized: <certbot_nginx.configurator.NginxConfigurator object at 0x7f04b4dd1d30>
  13. Prep: True
  14.  
  15. * standalone
  16. Description: Spin up a temporary webserver
  17. Interfaces: IAuthenticator, IPlugin
  18. Entry point: standalone = certbot.plugins.standalone:Authenticator
  19. Initialized: <certbot.plugins.standalone.Authenticator object at 0x7f04b4dd1e48>
  20. Prep: True
  21.  
  22. * webroot
  23. Description: Place files in webroot directory
  24. Interfaces: IAuthenticator, IPlugin
  25. Entry point: webroot = certbot.plugins.webroot:Authenticator
  26. Initialized: <certbot.plugins.webroot.Authenticator object at 0x7f04b4db1f60>
  27. Prep: True
  28. 2018-03-28 09:22:41,320:DEBUG:certbot.plugins.selection:Selected authenticator <certbot.plugins.webroot.Authenticator object at 0x7f04b4db1f60> and installer None
  29. 2018-03-28 09:22:41,321:INFO:certbot.plugins.selection:Plugins selected: Authenticator webroot, Installer None
  30. 2018-03-28 09:22:41,409:DEBUG:certbot.main:Picked account: <Account(RegistrationResource(uri='https://acme-staging-v02.api.letsencrypt.org/acme/acct/5818463', terms_of_service='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf', body=Registration(key=JWKRSA(key=<ComparableRSAKey(<cryptography.hazmat.backends.openssl.rsa._RSAPublicKey object at 0x7f04af62be80>)>), agreement='https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf', terms_of_service_agreed=None, status='valid', contact=()), new_authzr_uri=None), dcee8cbcecb39092dada555c1db2b03d, Meta(creation_dt=datetime.datetime(2018, 3, 27, 14, 22, 35, tzinfo=<UTC>), creation_host='ubuntuserver08'))>
  31. 2018-03-28 09:22:41,422:DEBUG:acme.client:Sending GET request to https://acme-staging-v02.api.letsencrypt.org/directory.
  32. 2018-03-28 09:22:41,431:INFO:requests.packages.urllib3.connectionpool:Starting new HTTPS connection (1): acme-staging-v02.api.letsencrypt.org
  33. 2018-03-28 09:22:41,795:DEBUG:requests.packages.urllib3.connectionpool:"GET /directory HTTP/1.1" 200 602
  34. 2018-03-28 09:22:41,797:DEBUG:acme.client:Received response:
  35. HTTP 200
  36. Date: Wed, 28 Mar 2018 09:22:41 GMT
  37. Content-Length: 602
  38. X-Frame-Options: DENY
  39. Strict-Transport-Security: max-age=604800
  40. Pragma: no-cache
  41. Cache-Control: max-age=0, no-cache, no-store
  42. Server: nginx
  43. Content-Type: application/json
  44. Connection: keep-alive
  45. Expires: Wed, 28 Mar 2018 09:22:41 GMT
  46.  
  47. b'{\n  "HWJCSJbaUWw": "https://community.letsencrypt.org/t/adding-random-entries-to-the-directory/33417",\n  "keyChange": "https://acme-staging-v02.api.letsencrypt.org/acme/key-change",\n  "meta": {\n    "termsOfService": "https://letsencrypt.org/documents/LE-SA-v1.2-November-15-2017.pdf"\n  },\n  "newAccount": "https://acme-staging-v02.api.letsencrypt.org/acme/new-acct",\n  "newNonce": "https://acme-staging-v02.api.letsencrypt.org/acme/new-nonce",\n  "newOrder": "https://acme-staging-v02.api.letsencrypt.org/acme/new-order",\n  "revokeCert": "https://acme-staging-v02.api.letsencrypt.org/acme/revoke-cert"\n}'
  48. 2018-03-28 09:22:41,799:INFO:certbot.main:Obtaining a new certificate
  49. 2018-03-28 09:22:41,926:DEBUG:acme.client:Requesting fresh nonce
  50. 2018-03-28 09:22:41,926:DEBUG:acme.client:Sending HEAD request to https://acme-staging-v02.api.letsencrypt.org/acme/new-order.
  51. 2018-03-28 09:22:42,146:DEBUG:requests.packages.urllib3.connectionpool:"HEAD /acme/new-order HTTP/1.1" 405 0
  52. 2018-03-28 09:22:42,147:DEBUG:acme.client:Received response:
  53. HTTP 405
  54. Date: Wed, 28 Mar 2018 09:22:42 GMT
  55. Content-Length: 103
  56. Allow: POST
  57. Pragma: no-cache
  58. Cache-Control: max-age=0, no-cache, no-store
  59. Replay-Nonce: kUoWCn7dSHtXBODr0n6CyqkbcJ4QiTCUeKYbG2h9zDs
  60. Server: nginx
  61. Content-Type: application/problem+json
  62. Connection: keep-alive
  63. Expires: Wed, 28 Mar 2018 09:22:42 GMT
  64.  
  65. b''
  66. 2018-03-28 09:22:42,147:DEBUG:acme.client:Storing nonce: kUoWCn7dSHtXBODr0n6CyqkbcJ4QiTCUeKYbG2h9zDs
  67. 2018-03-28 09:22:42,149:DEBUG:acme.client:JWS payload:
  68. b'{\n  "identifiers": [\n    {\n      "type": "dns",\n      "value": "sitename.ru"\n    },\n    {\n      "type": "dns",\n      "value": "www.sitename.ru"\n    }\n  ],\n  "resource": "new-order",\n  "status": "pending"\n}'
  69. 2018-03-28 09:22:42,156:DEBUG:acme.client:Sending POST request to https://acme-staging-v02.api.letsencrypt.org/acme/new-order:
  70. {
  71.   "payload": "ewogICJpZGVudGlmaWVycyI6IFsKICAgIHsKICAgICAgInR5cGUiOiAiZG5zIiwKICAgICAgInZhbHVlIjogImJ0bGFicy5ydSIKICAgIH0sCiAgICB7CiAgICAgICJ0eXBlIjogImRucyIsCiAgICAgICJ2YWx1ZSI6ICJ3d3cuYnRsYWJzLnJ1IgogICAgfQogIF0sCiAgInJlc291cmNlIjogIm5ldy1vcmRlciIsCiAgInN0YXR1cyI6ICJwZW5kaW5nIgp9",
  72.   "protected": "eyJub25jZSI6ICJrVW9XQ243ZFNIdFhCT0RyMG42Q3lxa2JjSjRRaVRDVWVLWWJHMmg5ekRzIiwgImFsZyI6ICJSUzI1NiIsICJ1cmwiOiAiaHR0cHM6Ly9hY21lLXN0YWdpbmctdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvYWNtZS9uZXctb3JkZXIiLCAia2lkIjogImh0dHBzOi8vYWNtZS1zdGFnaW5nLXYwMi5hcGkubGV0c2VuY3J5cHQub3JnL2FjbWUvYWNjdC81ODE4NDYzIn0",
  73.   "signature": "TKGL76qRwOpEOSRc0vrR3SaaBOzxOusaPypr6ZErYP9lO8nt81WnxXydlaWRfkNslbR3x7nlewSGAvaXVfkL96T7EHcgC2wFDUIoe5Li1tpMKOyUjdEqRpWw4dBMwO6tPDBAVQnjGCPbbJGEwc-Eu4k2TfM-qKwFiKZ-BGpcnefDB9WkgFn5czTZ7T6ZtsLIDB37tgs9vrqCsoCjRvSX6YXOLzxxuRGxWKbSnugDRgx3gc88v_cEBUj0Pnvn0O_q2EzfZNigHSlx6c_krakyS8TnuPn8gnwDLVgLqODD0EO-MqgEZL1DuOx70_ooJAdcr2VTREczVt43g5ZodHwzvQ"
  74. }
  75. 2018-03-28 09:22:42,404:DEBUG:requests.packages.urllib3.connectionpool:"POST /acme/new-order HTTP/1.1" 201 552
  76. 2018-03-28 09:22:42,405:DEBUG:acme.client:Received response:
  77. HTTP 201
  78. Location: https://acme-staging-v02.api.letsencrypt.org/acme/order/5818463/163096
  79. Replay-Nonce: H1onhZVUbMGXvRPzWrN24aGNKtPyNZm6KOjG3mAy9iM
  80. Strict-Transport-Security: max-age=604800
  81. Content-Type: application/json
  82. Connection: keep-alive
  83. Boulder-Requester: 5818463
  84. Date: Wed, 28 Mar 2018 09:22:42 GMT
  85. X-Frame-Options: DENY
  86. Cache-Control: max-age=0, no-cache, no-store
  87. Pragma: no-cache
  88. Expires: Wed, 28 Mar 2018 09:22:42 GMT
  89. Content-Length: 552
  90. Server: nginx
  91.  
  92. b'{\n  "status": "pending",\n  "expires": "2018-04-04T09:22:42.209143068Z",\n  "identifiers": [\n    {\n      "type": "dns",\n      "value": "sitename.ru"\n    },\n    {\n      "type": "dns",\n      "value": "www.sitename.ru"\n    }\n  ],\n  "authorizations": [\n    "https://acme-staging-v02.api.letsencrypt.org/acme/authz/rTgHIKUnFD_mkdXX2-pf-DijjNtQ8kfbyzWF3Ou3EvY",\n    "https://acme-staging-v02.api.letsencrypt.org/acme/authz/o7gGtPnrqBTZhnkjNimK-at9HY15k4hVQpn7Ltyd8bU"\n  ],\n  "finalize": "https://acme-staging-v02.api.letsencrypt.org/acme/finalize/5818463/163096"\n}'
  93. 2018-03-28 09:22:42,406:DEBUG:acme.client:Storing nonce: H1onhZVUbMGXvRPzWrN24aGNKtPyNZm6KOjG3mAy9iM
  94. 2018-03-28 09:22:42,406:DEBUG:acme.client:Sending GET request to https://acme-staging-v02.api.letsencrypt.org/acme/authz/rTgHIKUnFD_mkdXX2-pf-DijjNtQ8kfbyzWF3Ou3EvY.
  95. 2018-03-28 09:22:42,634:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/rTgHIKUnFD_mkdXX2-pf-DijjNtQ8kfbyzWF3Ou3EvY HTTP/1.1" 200 662
  96. 2018-03-28 09:22:42,635:DEBUG:acme.client:Received response:
  97. HTTP 200
  98. Date: Wed, 28 Mar 2018 09:22:42 GMT
  99. Content-Length: 662
  100. X-Frame-Options: DENY
  101. Strict-Transport-Security: max-age=604800
  102. Pragma: no-cache
  103. Cache-Control: max-age=0, no-cache, no-store
  104. Server: nginx
  105. Content-Type: application/json
  106. Connection: keep-alive
  107. Expires: Wed, 28 Mar 2018 09:22:42 GMT
  108.  
  109. b'{\n  "identifier": {\n    "type": "dns",\n    "value": "sitename.ru"\n  },\n  "status": "pending",\n  "expires": "2018-04-04T09:22:42Z",\n  "challenges": [\n    {\n      "type": "dns-01",\n      "status": "pending",\n      "url": "https://acme-staging-v02.api.letsencrypt.org/acme/challenge/rTgHIKUnFD_mkdXX2-pf-DijjNtQ8kfbyzWF3Ou3EvY/112632311",\n      "token": "yA-O3wHR_L9jwiZn4ix8q8XI_B1kbzl7kGEz7Oa5aT0"\n    },\n    {\n      "type": "http-01",\n      "status": "pending",\n      "url": "https://acme-staging-v02.api.letsencrypt.org/acme/challenge/rTgHIKUnFD_mkdXX2-pf-DijjNtQ8kfbyzWF3Ou3EvY/112632312",\n      "token": "W7SI1CwmMn85jfD25lBBpiVj5-FeVDjE-yXTWNb_grE"\n    }\n  ]\n}'
  110. 2018-03-28 09:22:42,635:DEBUG:acme.client:Sending GET request to https://acme-staging-v02.api.letsencrypt.org/acme/authz/o7gGtPnrqBTZhnkjNimK-at9HY15k4hVQpn7Ltyd8bU.
  111. 2018-03-28 09:22:42,850:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/o7gGtPnrqBTZhnkjNimK-at9HY15k4hVQpn7Ltyd8bU HTTP/1.1" 200 666
  112. 2018-03-28 09:22:42,851:DEBUG:acme.client:Received response:
  113. HTTP 200
  114. Date: Wed, 28 Mar 2018 09:22:42 GMT
  115. Content-Length: 666
  116. X-Frame-Options: DENY
  117. Strict-Transport-Security: max-age=604800
  118. Pragma: no-cache
  119. Cache-Control: max-age=0, no-cache, no-store
  120. Server: nginx
  121. Content-Type: application/json
  122. Connection: keep-alive
  123. Expires: Wed, 28 Mar 2018 09:22:42 GMT
  124.  
  125. b'{\n  "identifier": {\n    "type": "dns",\n    "value": "www.sitename.ru"\n  },\n  "status": "pending",\n  "expires": "2018-04-04T09:22:42Z",\n  "challenges": [\n    {\n      "type": "http-01",\n      "status": "pending",\n      "url": "https://acme-staging-v02.api.letsencrypt.org/acme/challenge/o7gGtPnrqBTZhnkjNimK-at9HY15k4hVQpn7Ltyd8bU/112632313",\n      "token": "eMq5GLIXOqOXgLRHqxZNyFXwBMKk2F5sytq8FfPJDV4"\n    },\n    {\n      "type": "dns-01",\n      "status": "pending",\n      "url": "https://acme-staging-v02.api.letsencrypt.org/acme/challenge/o7gGtPnrqBTZhnkjNimK-at9HY15k4hVQpn7Ltyd8bU/112632314",\n      "token": "JgKiICrPBxijCLzONkP8sZpw4HqTE0vGSuawUKnQhUY"\n    }\n  ]\n}'
  126. 2018-03-28 09:22:42,852:INFO:certbot.auth_handler:Performing the following challenges:
  127. 2018-03-28 09:22:42,852:INFO:certbot.auth_handler:http-01 challenge for sitename.ru
  128. 2018-03-28 09:22:42,853:INFO:certbot.auth_handler:http-01 challenge for www.sitename.ru
  129. 2018-03-28 09:23:49,172:DEBUG:certbot.plugins.webroot:Creating root challenges validation dir at /home/username/sites/sitename.ru/flask_app/templates/.well-known/acme-challenge
  130. 2018-03-28 09:23:49,174:DEBUG:certbot.plugins.webroot:Creating root challenges validation dir at /home/username/sites/sitename.ru/flask_app/templates/.well-known/acme-challenge
  131. 2018-03-28 09:23:49,181:DEBUG:certbot.plugins.webroot:Attempting to save validation to /home/username/sites/sitename.ru/flask_app/templates/.well-known/acme-challenge/W7SI1CwmMn85jfD25lBBpiVj5-FeVDjE-yXTWNb_grE
  132. 2018-03-28 09:23:49,186:DEBUG:certbot.plugins.webroot:Attempting to save validation to /home/username/sites/sitename.ru/flask_app/templates/.well-known/acme-challenge/eMq5GLIXOqOXgLRHqxZNyFXwBMKk2F5sytq8FfPJDV4
  133. 2018-03-28 09:23:49,187:INFO:certbot.auth_handler:Waiting for verification...
  134. 2018-03-28 09:23:49,188:DEBUG:acme.client:JWS payload:
  135. b'{\n  "type": "http-01",\n  "keyAuthorization": "W7SI1CwmMn85jfD25lBBpiVj5-FeVDjE-yXTWNb_grE.58fbP6VPr0Ue_MbxUmAMD1l-_iKDPwd3CNLAf9aRXBM",\n  "resource": "challenge"\n}'
  136. 2018-03-28 09:23:49,194:DEBUG:acme.client:Sending POST request to https://acme-staging-v02.api.letsencrypt.org/acme/challenge/rTgHIKUnFD_mkdXX2-pf-DijjNtQ8kfbyzWF3Ou3EvY/112632312:
  137. {
  138.   "payload": "ewogICJ0eXBlIjogImh0dHAtMDEiLAogICJrZXlBdXRob3JpemF0aW9uIjogIlc3U0kxQ3dtTW44NWpmRDI1bEJCcGlWajUtRmVWRGpFLXlYVFdOYl9nckUuNThmYlA2VlByMFVlX01ieFVtQU1EMWwtX2lLRFB3ZDNDTkxBZjlhUlhCTSIsCiAgInJlc291cmNlIjogImNoYWxsZW5nZSIKfQ",
  139.   "protected": "eyJub25jZSI6ICJIMW9uaFpWVWJNR1h2UlB6V3JOMjRhR05LdFB5TlptNktPakczbUF5OWlNIiwgImFsZyI6ICJSUzI1NiIsICJ1cmwiOiAiaHR0cHM6Ly9hY21lLXN0YWdpbmctdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvYWNtZS9jaGFsbGVuZ2UvclRnSElLVW5GRF9ta2RYWDItcGYtRGlqak50UThrZmJ5eldGM091M0V2WS8xMTI2MzIzMTIiLCAia2lkIjogImh0dHBzOi8vYWNtZS1zdGFnaW5nLXYwMi5hcGkubGV0c2VuY3J5cHQub3JnL2FjbWUvYWNjdC81ODE4NDYzIn0",
  140.   "signature": "JNjWrlv5PcxYr8YiuI-qurlXf_HbQEBDoDLt3eW0R6JGzNancZSK4XqtDeO4yudenhtkfNNOVdFaWxg3QtPBOhJpQOHnKuw48HZzcsazVDCZrd32jj_fgdFJRE9y6eEUJlURS0zcQXo5RLJF9DvHbNY6Do2S1rny1LKe1SSoxQqB-yGeAPRNEMoe8YyyP8kHKz22Gh0qHfrIkJ0ovqzW6KsC7e0rGzbz04_HehFUq8GsHbGhnVYg9oPcZC6rt7OpCLStuWU7v7B6OK43IDmnkgZ7KXcPMuGfwYGnEA5nHPIo5RIC9BkMWJ87h77Z8nLSWLbtVHnZDEG5pqgJW87SZw"
  141. }
  142. 2018-03-28 09:23:49,450:DEBUG:requests.packages.urllib3.connectionpool:"POST /acme/challenge/rTgHIKUnFD_mkdXX2-pf-DijjNtQ8kfbyzWF3Ou3EvY/112632312 HTTP/1.1" 200 230
  143. 2018-03-28 09:23:49,451:DEBUG:acme.client:Received response:
  144. HTTP 200
  145. Cache-Control: max-age=0, no-cache, no-store
  146. Link: <https://acme-staging-v02.api.letsencrypt.org/acme/authz/rTgHIKUnFD_mkdXX2-pf-DijjNtQ8kfbyzWF3Ou3EvY>;rel="up"
  147. Location: https://acme-staging-v02.api.letsencrypt.org/acme/challenge/rTgHIKUnFD_mkdXX2-pf-DijjNtQ8kfbyzWF3Ou3EvY/112632312
  148. Replay-Nonce: mGcBvbykDnEcxc36gUD-awii5B88-g6Z-qPvcMY2uRw
  149. Boulder-Requester: 5818463
  150. Content-Type: application/json
  151. Connection: keep-alive
  152. Date: Wed, 28 Mar 2018 09:23:49 GMT
  153. X-Frame-Options: DENY
  154. Strict-Transport-Security: max-age=604800
  155. Pragma: no-cache
  156. Expires: Wed, 28 Mar 2018 09:23:49 GMT
  157. Content-Length: 230
  158. Server: nginx
  159.  
  160. b'{\n  "type": "http-01",\n  "status": "pending",\n  "url": "https://acme-staging-v02.api.letsencrypt.org/acme/challenge/rTgHIKUnFD_mkdXX2-pf-DijjNtQ8kfbyzWF3Ou3EvY/112632312",\n  "token": "W7SI1CwmMn85jfD25lBBpiVj5-FeVDjE-yXTWNb_grE"\n}'
  161. 2018-03-28 09:23:49,451:DEBUG:acme.client:Storing nonce: mGcBvbykDnEcxc36gUD-awii5B88-g6Z-qPvcMY2uRw
  162. 2018-03-28 09:23:49,452:DEBUG:acme.client:JWS payload:
  163. b'{\n  "type": "http-01",\n  "keyAuthorization": "eMq5GLIXOqOXgLRHqxZNyFXwBMKk2F5sytq8FfPJDV4.58fbP6VPr0Ue_MbxUmAMD1l-_iKDPwd3CNLAf9aRXBM",\n  "resource": "challenge"\n}'
  164. 2018-03-28 09:23:49,457:DEBUG:acme.client:Sending POST request to https://acme-staging-v02.api.letsencrypt.org/acme/challenge/o7gGtPnrqBTZhnkjNimK-at9HY15k4hVQpn7Ltyd8bU/112632313:
  165. {
  166.   "payload": "ewogICJ0eXBlIjogImh0dHAtMDEiLAogICJrZXlBdXRob3JpemF0aW9uIjogImVNcTVHTElYT3FPWGdMUkhxeFpOeUZYd0JNS2syRjVzeXRxOEZmUEpEVjQuNThmYlA2VlByMFVlX01ieFVtQU1EMWwtX2lLRFB3ZDNDTkxBZjlhUlhCTSIsCiAgInJlc291cmNlIjogImNoYWxsZW5nZSIKfQ",
  167.   "protected": "eyJub25jZSI6ICJtR2NCdmJ5a0RuRWN4YzM2Z1VELWF3aWk1Qjg4LWc2Wi1xUHZjTVkydVJ3IiwgImFsZyI6ICJSUzI1NiIsICJ1cmwiOiAiaHR0cHM6Ly9hY21lLXN0YWdpbmctdjAyLmFwaS5sZXRzZW5jcnlwdC5vcmcvYWNtZS9jaGFsbGVuZ2UvbzdnR3RQbnJxQlRaaG5rak5pbUstYXQ5SFkxNWs0aFZRcG43THR5ZDhiVS8xMTI2MzIzMTMiLCAia2lkIjogImh0dHBzOi8vYWNtZS1zdGFnaW5nLXYwMi5hcGkubGV0c2VuY3J5cHQub3JnL2FjbWUvYWNjdC81ODE4NDYzIn0",
  168.   "signature": "b9m5MVZsV9DsVmNC0U-yALI3zUWsT9kGrxKO7zZtPwZ86RzBRkOiOeoKpVnA0zy0Te0_TqrHaA7LXrh93EBjjwiyafI76rJOxBE7ZipS64OQAiwAKTuiZmuJR2TWiUZHuMc2yGpWaaoZsjDD6TTh6m5RigNZHUnb22gxpD4JXSNED_uEA9bD3u_5o3tJ_Dhb5KzfaV2UYid2CyBy0RuFhv65zmBdWlvz7wS7n15_Qec6bOmPhAircT8Dz8A8fFo3fL5csHhPWidIf_oIYeYSlILiXjE5OBUnzgUSkXDBCqWNA-l2xGXSDa6_XylfN9c7VaG2zT2-T8n_Su_b5pM-kA"
  169. }
  170. 2018-03-28 09:23:49,731:DEBUG:requests.packages.urllib3.connectionpool:"POST /acme/challenge/o7gGtPnrqBTZhnkjNimK-at9HY15k4hVQpn7Ltyd8bU/112632313 HTTP/1.1" 200 230
  171. 2018-03-28 09:23:49,732:DEBUG:acme.client:Received response:
  172. HTTP 200
  173. Cache-Control: max-age=0, no-cache, no-store
  174. Link: <https://acme-staging-v02.api.letsencrypt.org/acme/authz/o7gGtPnrqBTZhnkjNimK-at9HY15k4hVQpn7Ltyd8bU>;rel="up"
  175. Location: https://acme-staging-v02.api.letsencrypt.org/acme/challenge/o7gGtPnrqBTZhnkjNimK-at9HY15k4hVQpn7Ltyd8bU/112632313
  176. Replay-Nonce: pAVE5I0sW5n0Xf4tYKR1m90DPkv_QPD1xJz0htM_FoM
  177. Boulder-Requester: 5818463
  178. Content-Type: application/json
  179. Connection: keep-alive
  180. Date: Wed, 28 Mar 2018 09:23:49 GMT
  181. X-Frame-Options: DENY
  182. Strict-Transport-Security: max-age=604800
  183. Pragma: no-cache
  184. Expires: Wed, 28 Mar 2018 09:23:49 GMT
  185. Content-Length: 230
  186. Server: nginx
  187.  
  188. b'{\n  "type": "http-01",\n  "status": "pending",\n  "url": "https://acme-staging-v02.api.letsencrypt.org/acme/challenge/o7gGtPnrqBTZhnkjNimK-at9HY15k4hVQpn7Ltyd8bU/112632313",\n  "token": "eMq5GLIXOqOXgLRHqxZNyFXwBMKk2F5sytq8FfPJDV4"\n}'
  189. 2018-03-28 09:23:49,733:DEBUG:acme.client:Storing nonce: pAVE5I0sW5n0Xf4tYKR1m90DPkv_QPD1xJz0htM_FoM
  190. 2018-03-28 09:23:52,737:DEBUG:acme.client:Sending GET request to https://acme-staging-v02.api.letsencrypt.org/acme/authz/rTgHIKUnFD_mkdXX2-pf-DijjNtQ8kfbyzWF3Ou3EvY.
  191. 2018-03-28 09:23:52,961:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/rTgHIKUnFD_mkdXX2-pf-DijjNtQ8kfbyzWF3Ou3EvY HTTP/1.1" 200 2538
  192. 2018-03-28 09:23:52,962:DEBUG:acme.client:Received response:
  193. HTTP 200
  194. Date: Wed, 28 Mar 2018 09:23:52 GMT
  195. Content-Length: 2538
  196. X-Frame-Options: DENY
  197. Strict-Transport-Security: max-age=604800
  198. Pragma: no-cache
  199. Cache-Control: max-age=0, no-cache, no-store
  200. Server: nginx
  201. Content-Type: application/json
  202. Connection: keep-alive
  203. Expires: Wed, 28 Mar 2018 09:23:52 GMT
  204.  
  205. b'{\n  "identifier": {\n    "type": "dns",\n    "value": "sitename.ru"\n  },\n  "status": "invalid",\n  "expires": "2018-04-04T09:22:42Z",\n  "challenges": [\n    {\n      "type": "dns-01",\n      "status": "invalid",\n      "url": "https://acme-staging-v02.api.letsencrypt.org/acme/challenge/rTgHIKUnFD_mkdXX2-pf-DijjNtQ8kfbyzWF3Ou3EvY/112632311",\n      "token": "yA-O3wHR_L9jwiZn4ix8q8XI_B1kbzl7kGEz7Oa5aT0"\n    },\n    {\n      "type": "http-01",\n      "status": "invalid",\n      "error": {\n        "type": "urn:ietf:params:acme:error:unauthorized",\n        "detail": "Invalid response from http://sitename.ru/.well-known/acme-challenge/W7SI1CwmMn85jfD25lBBpiVj5-FeVDjE-yXTWNb_grE: \\"\xef\xbb\xbf\\u003c!DOCTYPE html\\u003e\\r\\n\\u003cmeta charset=\\"utf-8\\"\\u003e\\r\\n\\u003chtml lang=\\"ru\\"\\u003e\\r\\n\\u003chead\\u003e\\r\\n    \\u003ctitle\\u003e\xd0\x9e\xd0\x90\xd0\x9e \xc2\xab\xd0\x91\xd0\xb0\xd0\xb7\xd0\xbe\xd0\xb2\xd1\x8b\xd0\xb5 \xd1\x82\xd0\xb5\xd1\x85\xd0\xbd\xd0\xbe\xd0\xbb\xd0\xbe\xd0\xb3\xd0\xb8\xd0\xb8\xc2\xbb \\"",\n        "status": 403\n      },\n      "url": "https://acme-staging-v02.api.letsencrypt.org/acme/challenge/rTgHIKUnFD_mkdXX2-pf-DijjNtQ8kfbyzWF3Ou3EvY/112632312",\n      "token": "W7SI1CwmMn85jfD25lBBpiVj5-FeVDjE-yXTWNb_grE",\n      "validationRecord": [\n        {\n          "url": "http://www.sitename.ru/.well-known/acme-challenge/W7SI1CwmMn85jfD25lBBpiVj5-FeVDjE-yXTWNb_grE",\n          "hostname": "www.sitename.ru",\n          "port": "80",\n          "addressesResolved": [\n            "81.26.145.250",\n            "2a00:15f8:a000:5:1:14:5:ee9d",\n            "2a00:15f8:a000:5:1:13:5:ee9d",\n            "2a00:15f8:a000:5:1:12:5:ee9d",\n            "2a00:15f8:a000:5:1:11:5:ee9d"\n          ],\n          "addressUsed": "81.26.145.250"\n        },\n        {\n          "url": "http://www.sitename.ru/404.html",\n          "hostname": "www.sitename.ru",\n          "port": "80",\n          "addressesResolved": [\n            "81.26.145.250",\n            "2a00:15f8:a000:5:1:14:5:ee9d",\n            "2a00:15f8:a000:5:1:13:5:ee9d",\n            "2a00:15f8:a000:5:1:12:5:ee9d",\n            "2a00:15f8:a000:5:1:11:5:ee9d"\n          ],\n          "addressUsed": "81.26.145.250"\n        },\n        {\n          "url": "http://sitename.ru/.well-known/acme-challenge/W7SI1CwmMn85jfD25lBBpiVj5-FeVDjE-yXTWNb_grE",\n          "hostname": "sitename.ru",\n          "port": "80",\n          "addressesResolved": [\n            "81.26.145.250",\n            "2a00:15f8:a000:5:1:11:5:ee9d",\n            "2a00:15f8:a000:5:1:14:5:ee9d",\n            "2a00:15f8:a000:5:1:12:5:ee9d",\n            "2a00:15f8:a000:5:1:13:5:ee9d"\n          ],\n          "addressUsed": "2a00:15f8:a000:5:1:11:5:ee9d"\n        }\n      ]\n    }\n  ]\n}'
  206. 2018-03-28 09:23:52,963:DEBUG:acme.client:Sending GET request to https://acme-staging-v02.api.letsencrypt.org/acme/authz/o7gGtPnrqBTZhnkjNimK-at9HY15k4hVQpn7Ltyd8bU.
  207. 2018-03-28 09:23:53,221:DEBUG:requests.packages.urllib3.connectionpool:"GET /acme/authz/o7gGtPnrqBTZhnkjNimK-at9HY15k4hVQpn7Ltyd8bU HTTP/1.1" 200 2067
  208. 2018-03-28 09:23:53,222:DEBUG:acme.client:Received response:
  209. HTTP 200
  210. Date: Wed, 28 Mar 2018 09:23:53 GMT
  211. Content-Length: 2067
  212. X-Frame-Options: DENY
  213. Strict-Transport-Security: max-age=604800
  214. Pragma: no-cache
  215. Cache-Control: max-age=0, no-cache, no-store
  216. Server: nginx
  217. Content-Type: application/json
  218. Connection: keep-alive
  219. Expires: Wed, 28 Mar 2018 09:23:53 GMT
  220.  
  221. b'{\n  "identifier": {\n    "type": "dns",\n    "value": "www.sitename.ru"\n  },\n  "status": "invalid",\n  "expires": "2018-04-04T09:22:42Z",\n  "challenges": [\n    {\n      "type": "http-01",\n      "status": "invalid",\n      "error": {\n        "type": "urn:ietf:params:acme:error:unauthorized",\n        "detail": "Invalid response from http://www.sitename.ru/.well-known/acme-challenge/eMq5GLIXOqOXgLRHqxZNyFXwBMKk2F5sytq8FfPJDV4: \\"\xef\xbb\xbf\\u003c!DOCTYPE html\\u003e\\r\\n\\u003cmeta charset=\\"utf-8\\"\\u003e\\r\\n\\u003chtml lang=\\"ru\\"\\u003e\\r\\n\\u003chead\\u003e\\r\\n    \\u003ctitle\\u003e\xd0\x9e\xd0\x90\xd0\x9e \xc2\xab\xd0\x91\xd0\xb0\xd0\xb7\xd0\xbe\xd0\xb2\xd1\x8b\xd0\xb5 \xd1\x82\xd0\xb5\xd1\x85\xd0\xbd\xd0\xbe\xd0\xbb\xd0\xbe\xd0\xb3\xd0\xb8\xd0\xb8\xc2\xbb \\"",\n        "status": 403\n      },\n      "url": "https://acme-staging-v02.api.letsencrypt.org/acme/challenge/o7gGtPnrqBTZhnkjNimK-at9HY15k4hVQpn7Ltyd8bU/112632313",\n      "token": "eMq5GLIXOqOXgLRHqxZNyFXwBMKk2F5sytq8FfPJDV4",\n      "validationRecord": [\n        {\n          "url": "http://www.sitename.ru/404.html",\n          "hostname": "www.sitename.ru",\n          "port": "80",\n          "addressesResolved": [\n            "81.26.145.250",\n            "2a00:15f8:a000:5:1:14:5:ee9d",\n            "2a00:15f8:a000:5:1:13:5:ee9d",\n            "2a00:15f8:a000:5:1:12:5:ee9d",\n            "2a00:15f8:a000:5:1:11:5:ee9d"\n          ],\n          "addressUsed": "81.26.145.250"\n        },\n        {\n          "url": "http://www.sitename.ru/.well-known/acme-challenge/eMq5GLIXOqOXgLRHqxZNyFXwBMKk2F5sytq8FfPJDV4",\n          "hostname": "www.sitename.ru",\n          "port": "80",\n          "addressesResolved": [\n            "81.26.145.250",\n            "2a00:15f8:a000:5:1:14:5:ee9d",\n            "2a00:15f8:a000:5:1:13:5:ee9d",\n            "2a00:15f8:a000:5:1:12:5:ee9d",\n            "2a00:15f8:a000:5:1:11:5:ee9d"\n          ],\n          "addressUsed": "2a00:15f8:a000:5:1:14:5:ee9d"\n        }\n      ]\n    },\n    {\n      "type": "dns-01",\n      "status": "invalid",\n      "url": "https://acme-staging-v02.api.letsencrypt.org/acme/challenge/o7gGtPnrqBTZhnkjNimK-at9HY15k4hVQpn7Ltyd8bU/112632314",\n      "token": "JgKiICrPBxijCLzONkP8sZpw4HqTE0vGSuawUKnQhUY"\n    }\n  ]\n}'
  222. 2018-03-28 09:23:53,224:DEBUG:certbot.reporter:Reporting to user: The following errors were reported by the server:
  223.  
  224. Domain: www.sitename.ru
  225. Type:   unauthorized
  226. Detail: Invalid response from http://www.sitename.ru/.well-known/acme-challenge/eMq5GLIXOqOXgLRHqxZNyFXwBMKk2F5sytq8FfPJDV4: "<!DOCTYPE html>
  227. <meta charset="utf-8">
  228. <html lang="ru">
  229. <head>
  230.    <title>Wellcome to  "
  231.  
  232. Domain: sitename.ru
  233. Type:   unauthorized
  234. Detail: Invalid response from http://sitename.ru/.well-known/acme-challenge/W7SI1CwmMn85jfD25lBBpiVj5-FeVDjE-yXTWNb_grE: "<!DOCTYPE html>
  235. <meta charset="utf-8">
  236. <html lang="ru">
  237. <head>
  238.    <title>Wellcome to  "
  239.  
  240. To fix these errors, please make sure that your domain name was entered correctly and the DNS A/AAAA record(s) for that domain contain(s) the right IP address.
  241. 2018-03-28 09:23:53,224:INFO:certbot.auth_handler:Cleaning up challenges
  242. 2018-03-28 09:23:53,226:DEBUG:certbot.plugins.webroot:Removing /home/username/sites/sitename.ru/flask_app/templates/.well-known/acme-challenge/W7SI1CwmMn85jfD25lBBpiVj5-FeVDjE-yXTWNb_grE
  243. 2018-03-28 09:23:53,226:DEBUG:certbot.plugins.webroot:Removing /home/username/sites/sitename.ru/flask_app/templates/.well-known/acme-challenge/eMq5GLIXOqOXgLRHqxZNyFXwBMKk2F5sytq8FfPJDV4
  244. 2018-03-28 09:23:53,226:DEBUG:certbot.plugins.webroot:All challenges cleaned up
  245. 2018-03-28 09:23:53,227:DEBUG:certbot.log:Exiting abnormally:
  246. Traceback (most recent call last):
  247.   File "/usr/bin/certbot", line 11, in <module>
  248.     load_entry_point('certbot==0.22.2', 'console_scripts', 'certbot')()
  249.   File "/usr/lib/python3/dist-packages/certbot/main.py", line 1266, in main
  250.     return config.func(config, plugins)
  251.   File "/usr/lib/python3/dist-packages/certbot/main.py", line 1157, in certonly
  252.     lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
  253.   File "/usr/lib/python3/dist-packages/certbot/main.py", line 118, in _get_and_save_cert
  254.     lineage = le_client.obtain_and_enroll_certificate(domains, certname)
  255.   File "/usr/lib/python3/dist-packages/certbot/client.py", line 350, in obtain_and_enroll_certificate
  256.     cert, chain, key, _ = self.obtain_certificate(domains)
  257.   File "/usr/lib/python3/dist-packages/certbot/client.py", line 294, in obtain_certificate
  258.     orderr = self._get_order_and_authorizations(csr.data, self.config.allow_subset_of_names)
  259.   File "/usr/lib/python3/dist-packages/certbot/client.py", line 330, in _get_order_and_authorizations
  260.     authzr = self.auth_handler.handle_authorizations(orderr, best_effort)
  261.   File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 79, in handle_authorizations
  262.     self._respond(aauthzrs, resp, best_effort)
  263.   File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 154, in _respond
  264.     self._poll_challenges(aauthzrs, chall_update, best_effort)
  265.   File "/usr/lib/python3/dist-packages/certbot/auth_handler.py", line 220, in _poll_challenges
  266.     raise errors.FailedChallenges(all_failed_achalls)
  267. certbot.errors.FailedChallenges: Failed authorization procedure. www.sitename.ru (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.sitename.ru/.well-known/acme-challenge/eMq5GLIXOqOXgLRHqxZNyFXwBMKk2F5sytq8FfPJDV4: "\ufeff<!DOCTYPE html>
  268. <meta charset="utf-8">
  269. <html lang="ru">
  270. <head>
  271.    <title>\u041e\u0410\u041e \xab\u0411\u0430\u0437\u043e\u0432\u044b\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438\xbb ", sitename.ru (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://sitename.ru/.well-known/acme-challenge/W7SI1CwmMn85jfD25lBBpiVj5-FeVDjE-yXTWNb_grE: "\ufeff<!DOCTYPE html>
  272. <meta charset="utf-8">
  273. <html lang="ru">
  274. <head>
  275.    <title>\u041e\u0410\u041e \xab\u0411\u0430\u0437\u043e\u0432\u044b\u0435 \u0442\u0435\u0445\u043d\u043e\u043b\u043e\u0433\u0438\u0438\xbb "
  276. 2018-03-28 09:36:28,893:DEBUG:certbot.main:certbot version: 0.22.2
  277. 2018-03-28 09:36:28,896:DEBUG:certbot.main:Arguments: ['-q']
  278. 2018-03-28 09:36:28,897:DEBUG:certbot.main:Discovered plugins: PluginsRegistry(PluginEntryPoint#manual,PluginEntryPoint#nginx,PluginEntryPoint#null,PluginEntryPoint#standalone,PluginEntryPoint#webroot)
  279. 2018-03-28 09:36:28,918:DEBUG:certbot.log:Root logging level set at 30
  280. 2018-03-28 09:36:28,919:INFO:certbot.log:Saving debug log to /var/log/letsencrypt/letsencrypt.log
  281. 2018-03-28 09:36:28,921:DEBUG:certbot.renewal:no renewal failures
  282.  
  283. </code>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement