Advertisement
ilovepasting

20190110 Renew Let's Encrypt SSL Certificate on Staging Server by Khoa Tran

Jan 10th, 2022
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 218.33 KB | None | 0 0
  1. root@XXX-PC: /mnt/c/Users/Some Nameroot@XXX-PC:/mnt/c/Users/Some Name# \cd
  2. root@XXX-PC: ~root@XXX-PC:~# \cd freelensia
  3. root@XXX-PC: ~/freelensiaroot@XXX-PC:~/freelensia# \cd freelensia[K\exit./deploy_production.sh[9Pcd freelensia\isa[K\ssh -i ~/.ssh/freelensia_prod_deploy.pem [email protected]
  4. cd freelensia[K\ssh -i ~/.ssh/freelensia_prod_deploy.pem ubuntu@13.228.34.60
  5. Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 4.4.0-1070-aws x86_64)
  6.  
  7.  * Documentation:  https://help.ubuntu.com
  8.  * Management:     https://landscape.canonical.com
  9.  * Support:        https://ubuntu.com/advantage
  10.  
  11.   Get cloud support with Ubuntu Advantage Cloud Guest:
  12.     http://www.ubuntu.com/business/services/cloud
  13.  
  14. 173 packages can be updated.
  15. 2 updates are security updates.
  16.  
  17.  
  18. *** System restart required ***
  19. Last login: Thu Jan 10 13:04:39 2019 from 116.118.2.82
  20.  
  21. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  22.  
  23. ubuntu@ip-172-31-16-146: ~]1;~]
  24. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\
  25.  
  26. [0m[27m[24m[J[01;32m➜  [36m~[00m ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\lls[?1l>[?2004l
  27.  
  28. ls --color=tty]1;ls[0m[01;34mapp[0m  freelensia_prod.sql  nano
  29. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  30.  
  31. ubuntu@ip-172-31-16-146:
  32. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\./certbot-auto renew --preferred-challenges http[?1l>[?2004l
  33.  
  34. ./certbot-auto renew --preferred-challenges http]1;./certbot-autozsh: no such file or directory: ./certbot-auto
  35. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  36.  
  37. ubuntu@ip-172-31-16-146:
  38. [0m[27m[24m[J[01;31m➜  [36m~[00m [K]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[?1h=[?2004h\certbot renew[?1l>[?2004l
  39.  
  40. certbot renew]1;certbot\The following error was encountered:
  41. [Errno 13] Permission denied: '/var/log/letsencrypt/.certbot.lock'
  42. Either run as root, or set --config-dir, --work-dir, and --logs-dir to writeable paths.
  43. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  44.  
  45. ubuntu@ip-172-31-16-146: ~]1;~]
  46. [0m[27m[24m[J[01;31m➜  [36m~[00m [K]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[?1h=[?2004h\ssudo certbot renew[?1l>[?2004l
  47.  
  48. sudo certbot renew]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  49.  
  50. -------------------------------------------------------------------------------
  51. Processing /etc/letsencrypt/renewal/freelensia.com.conf
  52. -------------------------------------------------------------------------------
  53. Cert is due for renewal, auto-renewing...
  54. Plugins selected: Authenticator nginx, Installer nginx
  55. Renewing an existing certificate
  56. Performing the following challenges:
  57. tls-sni-01 challenge for freelensia.com
  58. tls-sni-01 challenge for www.freelensia.com
  59. nginx: [error] invalid PID number "" in "/var/run/nginx.pid"
  60. Cleaning up challenges
  61. nginx: [error] invalid PID number "" in "/var/run/nginx.pid"
  62. [31mEncountered exception during recovery[0m
  63. [31mnginx restart failed:
  64.  
  65. Traceback (most recent call last):
  66.   File "/usr/lib/python2.7/dist-packages/certbot/error_handler.py", line 100, in _call_registered
  67.     self.funcs[-1]()
  68. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\  File "/usr/lib/python2.7/dist-packages/certbot/auth_handler.py", line 284, in _cleanup_challenges
  69.     self.auth.cleanup(achalls)
  70.   File "/usr/lib/python2.7/dist-packages/certbot_nginx/configurator.py", line 788, in cleanup
  71.     self.restart()
  72.   File "/usr/lib/python2.7/dist-packages/certbot_nginx/configurator.py", line 593, in restart
  73.     nginx_restart(self.conf('ctl'), self.nginx_conf)
  74.   File "/usr/lib/python2.7/dist-packages/certbot_nginx/configurator.py", line 817, in nginx_restart
  75.     "nginx restart failed:\n%s\n%s" % (out.read(), err.read()))
  76. MisconfigurationError: nginx restart failed:
  77.  
  78. [0m
  79. [31mAttempting to renew cert (freelensia.com) from /etc/letsencrypt/renewal/freelensia.com.conf produced an unexpected error: nginx restart failed:
  80.  
  81. . Skipping.[0m
  82. [31mAll renewal attempts failed. The following certs could not be renewed:[0m
  83. [31m  /etc/letsencrypt/live/freelensia.com/fullchain.pem (failure)[0m
  84.  
  85. -------------------------------------------------------------------------------
  86.  
  87. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\
  88. All renewal attempts failed. The following certs could not be renewed:
  89.   /etc/letsencrypt/live/freelensia.com/fullchain.pem (failure)
  90. -------------------------------------------------------------------------------
  91. 1 renew failure(s), 0 parse failure(s)
  92. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                        ]      
  93.  
  94. ubuntu@ip-172-31-16-146: ~]1;~
  95. [0m[27m[24m[J[01;31m➜  [36m~[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo ufw status[?1l>[?2004l
  96.  
  97. sudo ufw status]1;ufw\Status: inactive
  98. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  99.  
  100. ubuntu@ip-172-31-16-146: ~]1;~]
  101. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo nginx -t[?1l>[?2004l
  102.  
  103. sudo nginx -t]1;nginx\nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
  104. nginx: configuration file /etc/nginx/nginx.conf test is successful
  105. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  106.  
  107. ubuntu@ip-172-31-16-146: ~]1;~]
  108. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo systemctl reload nginx[?1l>[?2004l
  109.  
  110. sudo systemctl reload nginx]1;systemctl\nginx.service is not active, cannot reload.
  111. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  112.  
  113. ubuntu@ip-172-31-16-146: ~]1;~]
  114. [0m[27m[24m[J[01;31m➜  [36m~[00m ]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[K[?1h=[?2004h\sudo certbot renew --dry-run[?1l>[?2004l
  115.  
  116. sudo certbot renew --dry-run]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  117.  
  118. -------------------------------------------------------------------------------
  119. Processing /etc/letsencrypt/renewal/freelensia.com.conf
  120. -------------------------------------------------------------------------------
  121. Cert is due for renewal, auto-renewing...
  122. Plugins selected: Authenticator nginx, Installer nginx
  123. Renewing an existing certificate
  124. Performing the following challenges:
  125. [31mClient with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.[0m
  126. [31mAttempting to renew cert (freelensia.com) from /etc/letsencrypt/renewal/freelensia.com.conf produced an unexpected error: Client with the currently selected authenticator does not support any combination of challenges that will satisfy the CA.. Skipping.[0m
  127. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\[31mAll renewal attempts failed. The following certs could not be renewed:[0m
  128. [31m  /etc/letsencrypt/live/freelensia.com/fullchain.pem (failure)[0m
  129. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\
  130. -------------------------------------------------------------------------------
  131. ** DRY RUN: simulating 'certbot renew' close to cert expiry
  132. **          (The test certificates below have not been saved.)
  133.  
  134. All renewal attempts failed. The following certs could not be renewed:
  135.   /etc/letsencrypt/live/freelensia.com/fullchain.pem (failure)
  136. ** DRY RUN: simulating 'certbot renew' close to cert expiry
  137. **          (The test certificates above have not been saved.)
  138. -------------------------------------------------------------------------------
  139. 1 renew failure(s), 0 parse failure(s)
  140. [1m
  141. IMPORTANT NOTES:
  142. [0m - Your account credentials have been saved in your Certbot
  143.    configuration directory at /etc/letsencrypt. You should make a
  144.    secure backup of this folder now. This configuration directory will
  145.    also contain certificates and private keys obtained by Certbot so
  146.    making regular backups of this folder is ideal.
  147. [1m[7m%[27m[1m[0m                                                            ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\]                                                                                                                                                                                  
  148.  
  149. ubuntu@ip-172-31-16-146: ~]1;~
  150. [0m[27m[24m[J[01;31m➜  [36m~[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\certbot certificates[?1l>[?2004l
  151.  
  152. certbot certificates]1;certbot\The following error was encountered:
  153. [Errno 13] Permission denied: '/var/log/letsencrypt/.certbot.lock'
  154. Either run as root, or set --config-dir, --work-dir, and --logs-dir to writeable paths.
  155. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  156.  
  157. ]ubuntu@ip-172-31-16-146: ~]1;~
  158. [0m[27m[24m[J[01;31m➜  [36m~[00m ]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[K[?1h=[?2004h\ssudo certbot certificates[?1l>[?2004l
  159.  
  160. sudo certbot certificates]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  161.  
  162. -------------------------------------------------------------------------------
  163. Found the following certs:
  164.   Certificate Name: freelensia.com
  165.     Domains: freelensia.com www.freelensia.com
  166.     Expiry Date: 2019-01-11 16:49:38+00:00 (INVALID: EXPIRED)
  167.     Certificate Path: /etc/letsencrypt/live/freelensia.com/fullchain.pem
  168.     Private Key Path: /etc/letsencrypt/live/freelensia.com/privkey.pem
  169. -------------------------------------------------------------------------------
  170. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  171.  
  172. ubuntu@ip-172-3]1-16-146: ~]1;~
  173. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\certbot delete --cert-name freekeb   lensia.com[?1l>[?2004l
  174.  
  175. certbot delete --cert-name freelensia.com]1;certbot\The following error was encountered:
  176. [Errno 13] Permission denied: '/var/log/letsencrypt/.certbot.lock'
  177. Either run as root, or set --config-dir, --work-dir, and --logs-dir to writeable paths.
  178. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  179.  
  180. ubuntu@ip-172-31-16-146: ~]1;~]
  181. [0m[27m[24m[J[01;31m➜  [36m~[00m [K[?1h=]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[?2004h\certbot delete --cert-name freelensia.comscertbot delete --cert-name freelensia.com[41D\sucertbot delete --cert-name freelensia.com[41D\dcertbot delete --cert-name freelensia.com[41D\ocertbot delete --cert-name freelensia.com[41D\ certbot delete --cert-name freelensia.com[41D\[?1l>[?2004l
  182.  
  183. sudo certbot delete --cert-name freelensia.com]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  184.  
  185. -------------------------------------------------------------------------------
  186. Deleted all files relating to certificate freelensia.com.
  187. -------------------------------------------------------------------------------
  188. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  189.  
  190. ]ubuntu@ip-172-31-16-146: ~]1;~
  191. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot delete --cert-name freelensia.com[46D[5P[41C     \[41Dsudo certbot certificates                [16D\[?1l>[?2004l
  192.  
  193. sudo certbot certificates]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  194.  
  195. -------------------------------------------------------------------------------
  196. No certs found.
  197. -------------------------------------------------------------------------------
  198. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  199.  
  200. ]ubuntu@ip-172-31-16-146: ~]1;~
  201. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\certbot renew --dry-runscertbot renew --dry-run[23D\sucertbot renew --dry-run[23D\dcertbot renew --dry-run[23D\ocertbot renew --dry-run[23D\ certbot renew --dry-run[23D\[?1l>[?2004l
  202.  
  203. sudo certbot renew --dry-run]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  204.  
  205. -------------------------------------------------------------------------------
  206. ** DRY RUN: simulating 'certbot renew' close to cert expiry
  207. **          (The test certificates below have not been saved.)
  208.  
  209. No renewals were attempted.
  210. ** DRY RUN: simulating 'certbot renew' close to cert expiry
  211. **          (The test certificates above have not been saved.)
  212. -------------------------------------------------------------------------------
  213. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  214.  
  215. ubuntu@ip-172-31-16-146: ~]1;~
  216. []0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot renew --dry-run[15Dcertificates   \[12Ddelete --cert-name freelensia.com\[46D[5P[41C     \[41Dsudo certbot certificates                [16D\[?1l>[?2004l
  217.  
  218. sudo certbot certificates]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  219.  
  220. -------------------------------------------------------------------------------
  221. No certs found.
  222. -------------------------------------------------------------------------------
  223. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  224.  
  225. ]ubuntu@ip-172-31-16-146: ~]1;~
  226. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot certificates[12Drenew --dry-run\[15Dcertificates   \[12Ddelete --cert-name freelensia.com\[46D[5P[41C     \[41Dsudo certbot delete --cert-name freelensia.com\[33Dcertificates                     [21D\[12Drenew --dry-run\         [?1l>[?2004l
  227.  
  228. sudo certbot renew]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  229.  
  230. -------------------------------------------------------------------------------
  231.  
  232. No renewals were attempted.
  233. -------------------------------------------------------------------------------
  234. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  235.  
  236. ]ubuntu@ip-172-31-16-146: ~]1;~
  237. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot --nginx -d freelensia.com -d www.freelensia.com[?1l>[?2004l
  238.  
  239. sudo certbot --nginx -d freelensia.com -d www.freelensia.com]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  240. [31mError while running nginx -c /etc/nginx/nginx.conf -t.
  241.  
  242. nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/freelensia.com/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
  243. nginx: configuration file /etc/nginx/nginx.conf test failed
  244. [0m
  245. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\The nginx plugin is not working; there may be problems with your existing configuration.
  246. The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(\'/etc/letsencrypt/live/freelensia.com/fullchain.pem\',\'r\') error:2006D080:BIO routines:BIO_new_file:no such file)\nnginx: configuration file /etc/nginx/nginx.conf test failed\n',)
  247. [1m[7m%[27m[1m[0m                                             ]                                                                                                                                                                                                  
  248.  
  249. ubuntu@ip-172-31-16-146: ~]1;~
  250. [0m[27m[24m[J[01;31m➜  [36m~[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot renew --dry-run[?1l>[?2004l
  251.  
  252. sudo certbot renew --dry-run]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  253.  
  254. -------------------------------------------------------------------------------
  255. ** DRY RUN: simulating 'certbot renew' close to cert expiry
  256. **          (The test certificates below have not been saved.)
  257.  
  258. No renewals were attempted.
  259. ** DRY RUN: simulating 'certbot renew' close to cert expiry
  260. **          (The test certificates above have not been saved.)
  261. -------------------------------------------------------------------------------
  262. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  263.  
  264. ubuntu@ip]-172-31-16-146: ~]1;~
  265. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot renew --dry-run n[1C\                         s  sudo certbot certificates[12Ddelete --cert-name freelensia.com\[46D[5P[41C     \[41Dsudo certbot certificates                [16D\[25Dcertbot delete --cert-name freelensia.com\[41Dsudo certbot delete --cert-name freelensia.com\[33Dcertificates                     [21D\[12Drenew       \--nginx -d freelensia.com -d www.freelensia.com                     m[?1l>[?2004l
  266.  
  267. sudo certbot --nginx -d freelensia.com]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  268. [31mError while running nginx -c /etc/nginx/nginx.conf -t.
  269.  
  270. nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/freelensia.com/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
  271. nginx: configuration file /etc/nginx/nginx.conf test failed
  272. [0m
  273. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\The nginx plugin is not working; there may be problems with your existing configuration.
  274. The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(\'/etc/letsencrypt/live/freelensia.com/fullchain.pem\',\'r\') error:2006D080:BIO routines:BIO_new_file:no such file)\nnginx: configuration file /etc/nginx/nginx.conf test failed\n',)
  275. [1m[7m%[27m[1m[0m                                             ]                                                                                                                                                                                                  
  276.  
  277. ubuntu@ip-172-31-16-146: ~]1;~
  278. [0m[27m[24m[J[01;31m➜  [36m~[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo -H ./letsencrypt-auto certonly --standalone -d example.com[1C\.com .com .com .com .com .com .com f.comr.come.come.coml.coms.comn.com.com .com e.comn.coms.comi.comz.com.com a.com[1C\[1C\[1C\[1C\ -d www.freelensia.com[?1l>[?2004l
  279.  
  280. sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com -d ]1;./letsencrypt-auto\sudo: ./letsencrypt-auto: command not found
  281. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  282.  
  283. ubuntu@ip-172-31-16-146: ~]1;~]
  284. [0m[27m[24m[J[01;31m➜  [36m~[00m [K]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[?1h=[?2004h\sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt[?1l>[?2004l
  285.  
  286. sudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt]1;git\Cloning into '/opt/letsencrypt'...
  287. remote: Enumerating objects: 57, done.[K
  288. remote: Counting objects:   1% (1/57)   [K
  289. remote: Counting objects:   3% (2/57)   [K
  290. remote: Counting objects:   5% (3/57)   [K
  291. remote: Counting objects:   7% (4/57)   [K
  292. remote: Counting objects:   8% (5/57)   [K
  293. remote: Counting objects:  10% (6/57)   [K
  294. remote: Counting objects:  12% (7/57)   [K
  295. remote: Counting objects:  14% (8/57)   [K
  296. remote: Counting objects:  15% (9/57)   [K
  297. remote: Counting objects:  17% (10/57)   [K
  298. remote: Counting objects:  1\9% (11/57)   [K
  299. remote: Counting objects:  21% (12/57)   [K
  300. remote: Counting objects:  22% (13/57)   [K
  301. remote: Counting objects:  24% (14/57)   [K
  302. remote: Counting objects:  26% (15/57)   [K
  303. remote: Counting objects:  28% (16/57)   [K
  304. remote: Counting objects:  29% (17/57)   [K
  305. remote: Counting objects:  31% (18/57)   [K
  306. remote: Counting objects:  33% (19/57)   [K
  307. remote: Counting objects:  35% (20/57)   [K
  308. remote: Counting objects:  36% (21/57)   [K
  309. remote: Counting objects:  38% (22/57)   [K
  310. \remote: Counting objects:  40% (23/57)   [K
  311. remote: Counting objects:  42% (24/57)   [K
  312. remote: Counting objects:  43% (25/57)   [K
  313. remote: Counting objects:  45% (26/57)   [K
  314. remote: Counting objects:  47% (27/57)   [K
  315. remote: Counting objects:  49% (28/57)   [K
  316. remote: Counting objects:  50% (29/57)   [K
  317. remote: Counting objects:  52% (30/57)   [K
  318. remote: Counting objects:  54% (31/57)   [K
  319. remote: Counting objects:  56% (32/57)   [K
  320. remote: Counting objects:  57% (33/57)   [K
  321. remote: Counting \objects:  59% (34/57)   [K
  322. remote: Counting objects:  61% (35/57)   [K
  323. remote: Counting objects:  63% (36/57)   [K
  324. remote: Counting objects:  64% (37/57)   [K
  325. remote: Counting objects:  66% (38/57)   [K
  326. remote: Counting objects:  68% (39/57)   [K
  327. remote: Counting objects:  70% (40/57)   [K
  328. remote: Counting objects:  71% (41/57)   [K
  329. remote: Counting objects:  73% (42/57)   [K
  330. remote: Counting objects:  75% (43/57)   [K
  331. remote: Counting objects:  77% (44/57)   [K
  332. remote: Counting objects:  78% (45\/57)   [K
  333. remote: Counting objects:  80% (46/57)   [K
  334. remote: Counting objects:  82% (47/57)   [K
  335. remote: Counting objects:  84% (48/57)   [K
  336. remote: Counting objects:  85% (49/57)   [K
  337. remote: Counting objects:  87% (50/57)   [K
  338. remote: Counting objects:  89% (51/57)   [K
  339. remote: Counting objects:  91% (52/57)   [K
  340. remote: Counting objects:  92% (53/57)   [K
  341. remote: Counting objects:  94% (54/57)   [K
  342. remote: Counting objects:  96% (55/57)   [K
  343. remote: Counting objects:  98% (56/57)   [K
  344. remote\: Counting objects: 100% (57/57)   [K
  345. remote: Counting objects: 100% (57/57), done.[K
  346. remote: Compressing objects:   1% (1/55)   [K
  347. remote: Compressing objects:   3% (2/55)   [K
  348. remote: Compressing objects:   5% (3/55)   [K
  349. remote: Compressing objects:   7% (4/55)   [K
  350. \remote: Compressing objects:   9% (5/55)   [K
  351. remote: Compressing objects:  10% (6/55)   [K
  352. remote: Compressing objects:  12% (7/55)   [K
  353. remote: Compressing objects:  14% (8/55)   [K
  354. remote: Compressing objects:  16% (9/55)   [K
  355. remote: Compressing objects:  18% (10/55)   [K
  356. remote: Compressing objects:  20% (11/55)   [K
  357. remote: Compressing objects:  21% (12/55)   [K
  358. remote: Compressing objects:  23% (13/55)   [K
  359. remote: Compressing objects:  25% (14/55)   [K
  360. remote: Compressing objects:  27% (15\/55)   [K
  361. remote: Compressing objects:  29% (16/55)   [K
  362. remote: Compressing objects:  30% (17/55)   [K
  363. remote: Compressing objects:  32% (18/55)   [K
  364. remote: Compressing objects:  34% (19/55)   [K
  365. remote: Compressing objects:  36% (20/55)   [K
  366. remote: Compressing objects:  38% (21/55)   [K
  367. remote: Compressing objects:  40% (22/55)   [K
  368. remote: Compressing objects:  41% (23/55)   [K
  369. remote: Compressing objects:  43% (24/55)   [K
  370. remote: Compressing objects:  45% (25/55)   [K
  371. remote: Compressing o\bjects:  47% (26/55)   [K
  372. remote: Compressing objects:  49% (27/55)   [K
  373. remote: Compressing objects:  50% (28/55)   [K
  374. remote: Compressing objects:  52% (29/55)   [K
  375. remote: Compressing objects:  54% (30/55)   [K
  376. remote: Compressing objects:  56% (31/55)   [K
  377. remote: Compressing objects:  58% (32/55)   [K
  378. remote: Compressing objects:  60% (33/55)   [K
  379. remote: Compressing objects:  61% (34/55)   [K
  380. remote: Compressing objects:  63% (35/55)   [K
  381. remote: Compressing objects:  65% (36/55)   [K
  382. remot\e: Compressing objects:  67% (37/55)   [K
  383. remote: Compressing objects:  69% (38/55)   [K
  384. remote: Compressing objects:  70% (39/55)   [K
  385. remote: Compressing objects:  72% (40/55)   [K
  386. remote: Compressing objects:  74% (41/55)   [K
  387. remote: Compressing objects:  76% (42/55)   [K
  388. remote: Compressing objects:  78% (43/55)   [K
  389. remote: Compressing objects:  80% (44/55)   [K
  390. remote: Compressing objects:  81% (45/55)   [K
  391. remote: Compressing objects:  83% (46/55)   [K
  392. remote: Compressing objects:  85% (47\/55)   [K
  393. remote: Compressing objects:  87% (48/55)   [K
  394. remote: Compressing objects:  89% (49/55)   [K
  395. remote: Compressing objects:  90% (50/55)   [K
  396. remote: Compressing objects:  92% (51/55)   [K
  397. remote: Compressing objects:  94% (52/55)   [K
  398. remote: Compressing objects:  96% (53/55)   [K
  399. remote: Compressing objects:  98% (54/55)   [K
  400. remote: Compressing objects: 100% (55/55)   [K
  401. remote: Compressing objects: 100% (55/55), done.[K
  402. \Receiving objects:   0% (1/61763)  
  403. Receiving objects:   1% (618/61763), 188.01 KiB | 300.00 KiB/s  
  404. Receiving objects:   2% (1236/61763), 188.01 KiB | 300.00 KiB/s  
  405. Receiving objects:   3% (1853/61763), 188.01 KiB | 300.00 KiB/s  
  406. Receiving objects:   4% (2471/61763), 188.01 KiB | 300.00 KiB/s  
  407. Receiving objects:   4% (2915/61763), 188.01 KiB | 300.00 KiB/s  
  408. Receiving objects:   5% (3089/61763), 188.01 KiB | 300.00 KiB/s  
  409. Receiving objects:   6% (3706/61763), 1020.01 KiB | 911.00 KiB/s  
  410. Receiving objects:   7% (4324/61763), 1020.01 KiB | 911.00 KiB/s  
  411. Receiving objects:   8% (4942/61763), 1020.01 KiB | 911.00 KiB/s  
  412. Receiving objects:   9% (5559/61763), 1020.01 KiB | 911.00 KiB/s  
  413. Receiving objects:  10% (6177/61763), 1020.01 KiB | 911.00 KiB/s  
  414. Receiving objects:  11% (6794/61763), 1020.01 KiB | 911.00 KiB/s  
  415. Receiving objects:  12% (7412/61763), 1020.01 KiB | 911.00 KiB/s  
  416. Receiving objects:  13% (8030/61763), 1020.01 KiB | 911.00 KiB/s  
  417. Receiving objects:  14% (8647/61763), 1020.01 KiB | 911.00 KiB/s  
  418. Receiving objects:  15% (9265/61763), 1020.01 KiB | 911.00 KiB/s  
  419. Receiving objects:  16% (9883/61763), 1020.01 KiB | 911.00 KiB/s  
  420. Receiving objects:  17% (10500/61763), 1020.01 KiB | 911.00 KiB/s  
  421. Receiving objects:  18% (11118/61763), 1020.01 KiB | 911.00 KiB/s  
  422. Receiving objects:  19% (11735/61763), 1020.01 KiB | 911.00 KiB/s  
  423. Receiving objects:  20% (12353/61763), 1020.01 KiB | 911.00 KiB/s  
  424. Receiving objects:  21% (12971/61763), 4.14 MiB | 2.56 MiB/s  
  425. Receiving objects:  22% (13588/61763), 4.14 MiB | 2.56 MiB/s  
  426. Receiving objects:  23% (14206/61763), 4.14 MiB | 2.56 MiB/s  
  427. Receiving objects:  24% (14824/61763), 4.14 MiB | 2.56 MiB/s  
  428. Receiving objects:  25% (15441/61763), 4.14 MiB | 2.56 MiB/s  
  429. Receiving objects:  26% (16059/61763), 4.14 MiB | 2.56 MiB/s  
  430. Receiving objects:  27% (16677/61763), 4.14 MiB | 2.56 MiB/s  
  431. Receiving objects:  28% (17294/61763), 4.14 MiB | 2.56 MiB/s  
  432. Receiving objects:  29% (17912/61763), 4.14 MiB | 2.56 MiB/s  
  433. Receiving objects:  30% (18529/61763), 4.14 MiB | 2.56 MiB/s  
  434. Receiving objects:  31% (19147/61763), 4.14 MiB | 2.56 MiB/s  
  435. Receiving objects:  32% (19765/61763), 4.14 MiB | 2.56 MiB/s  
  436. Receiving objects:  33% (20382/61763), 4.14 MiB | 2.56 MiB/s  
  437. Receiving objects:  34% (21000/61763), 4.14 MiB | 2.56 MiB/s  
  438. Receiving objects:  35% (21618/61763), 4.14 MiB | 2.56 MiB/s  
  439. Receiving objects:  36% (22235/61763), 4.14 MiB | 2.56 MiB/s  
  440. Receiving objects:  37% (22853/61763), 4.14 MiB | 2.56 MiB/s  
  441. Receiving objects:  38% (23470/61763), 4.14 MiB | 2.56 MiB/s  
  442. Receiving objects:  39% (24088/61763), 4.14 MiB | 2.56 MiB/s  
  443. Receiving objects:  40% (24706/61763), 4.14 MiB | 2.56 MiB/s  
  444. Receiving objects:  41% (25323/61763), 4.14 MiB | 2.56 MiB/s  
  445. Receiving objects:  41% (25549/61763), 4.14 MiB | 2.56 MiB/s  
  446. Receiving objects:  42% (25941/61763), 4.14 MiB | 2.56 MiB/s  
  447. Receiving objects:  43% (26559/61763), 4.14 MiB | 2.56 MiB/s  
  448. Receiving objects:  44% (27176/61763), 4.14 MiB | 2.56 MiB/s  
  449. Receiving objects:  45% (27794/61763), 4.14 MiB | 2.56 MiB/s  
  450. Receiving objects:  46% (28411/61763), 4.14 MiB | 2.56 MiB/s  
  451. Receiving objects:  47% (29029/61763), 11.75 MiB | 5.55 MiB/s  
  452. Receiving objects:  48% (29647/61763), 11.75 MiB | 5.55 MiB/s  
  453. Receiving objects:  49% (30264/61763), 11.75 MiB | 5.55 MiB/s  
  454. Receiving objects:  50% (30882/61763), 11.75 MiB | 5.55 MiB/s  
  455. Receiving objects:  51% (31500/61763), 11.75 MiB | 5.55 MiB/s  
  456. Receiving objects:  52% (32117/61763), 11.75 MiB | 5.55 MiB/s  
  457. Receiving objects:  53% (32735/61763), 11.75 MiB | 5.55 MiB/s  
  458. Receiving objects:  54% (33353/61763), 11.75 MiB | 5.55 MiB/s  
  459. Receiving objects:  55% (33970/61763), 11.75 MiB | 5.55 MiB/s  
  460. Receiving objects:  56% (34588/61763), 11.75 MiB | 5.55 MiB/s  
  461. Receiving objects:  57% (35205/61763), 11.75 MiB | 5.55 MiB/s  
  462. Receiving objects:  58% (35823/61763), 11.75 MiB | 5.55 MiB/s  
  463. Receiving objects:  59% (36441/61763), 11.75 MiB | 5.55 MiB/s  
  464. Receiving objects:  60% (37058/61763), 11.75 MiB | 5.55 MiB/s  
  465. Receiving objects:  61% (37676/61763), 11.75 MiB | 5.55 MiB/s  
  466. Receiving objects:  62% (38294/61763), 11.75 MiB | 5.55 MiB/s  
  467. Receiving objects:  63% (38911/61763), 11.75 MiB | 5.55 MiB/s  
  468. Receiving objects:  64% (39529/61763), 11.75 MiB | 5.55 MiB/s  
  469. Receiving objects:  65% (40146/61763), 11.75 MiB | 5.55 MiB/s  
  470. Receiving objects:  66% (40764/61763), 11.75 MiB | 5.55 MiB/s  
  471. Receiving objects:  67% (41382/61763), 11.75 MiB | 5.55 MiB/s  
  472. Receiving objects:  68% (41999/61763), 11.75 MiB | 5.55 MiB/s  
  473. Receiving objects:  69% (42617/61763), 11.75 MiB | 5.55 MiB/s  
  474. Receiving objects:  70% (43235/61763), 11.75 MiB | 5.55 MiB/s  
  475. Receiving objects:  71% (43852/61763), 11.75 MiB | 5.55 MiB/s  
  476. Receiving objects:  72% (44470/61763), 11.75 MiB | 5.55 MiB/s  
  477. Receiving objects:  73% (45087/61763), 11.75 MiB | 5.55 MiB/s  
  478. Receiving objects:  74% (45705/61763), 11.75 MiB | 5.55 MiB/s  
  479. Receiving objects:  75% (46323/61763), 11.75 MiB | 5.55 MiB/s  
  480. Receiving objects:  76% (46940/61763), 11.75 MiB | 5.55 MiB/s  
  481. Receiving objects:  77% (47558/61763), 11.75 MiB | 5.55 MiB/s  
  482. Receiving objects:  78% (48176/61763), 11.75 MiB | 5.55 MiB/s  
  483. Receiving objects:  79% (48793/61763), 11.75 MiB | 5.55 MiB/s  
  484. Receiving objects:  80% (49411/61763), 11.75 MiB | 5.55 MiB/s  
  485. Receiving objects:  81% (50029/61763), 11.75 MiB | 5.55 MiB/s  
  486. Receiving objects:  82% (50646/61763), 11.75 MiB | 5.55 MiB/s  
  487. Receiving objects:  83% (51264/61763), 11.75 MiB | 5.55 MiB/s  
  488. Receiving objects:  84% (51881/61763), 11.75 MiB | 5.55 MiB/s  
  489. Receiving objects:  85% (52499/61763), 11.75 MiB | 5.55 MiB/s  
  490. Receiving objects:  86% (53117/61763), 11.75 MiB | 5.55 MiB/s  
  491. Receiving objects:  87% (53734/61763), 11.75 MiB | 5.55 MiB/s  
  492. Receiving objects:  88% (54352/61763), 11.75 MiB | 5.55 MiB/s  
  493. Receiving objects:  89% (54970/61763), 11.75 MiB | 5.55 MiB/s  
  494. Receiving objects:  90% (55587/61763), 11.75 MiB | 5.55 MiB/s  
  495. Receiving objects:  91% (56205/61763), 11.75 MiB | 5.55 MiB/s  
  496. Receiving objects:  92% (56822/61763), 11.75 MiB | 5.55 MiB/s  
  497. Receiving objects:  93% (57440/61763), 11.75 MiB | 5.55 MiB/s  
  498. Receiving objects:  94% (58058/61763), 11.75 MiB | 5.55 MiB/s  
  499. Receiving objects:  95% (58675/61763), 11.75 MiB | 5.55 MiB/s  
  500. Receiving objects:  96% (59293/61763), 11.75 MiB | 5.55 MiB/s  
  501. Receiving objects:  97% (59911/61763), 11.75 MiB | 5.55 MiB/s  
  502. Receiving objects:  98% (60528/61763), 11.75 MiB | 5.55 MiB/s  
  503. Receiving objects:  99% (61146/61763), 11.75 MiB | 5.55 MiB/s  
  504. remote: Total 61763 (delta 23), reused 3 (delta 2), pack-reused 61706[K
  505. Receiving objects: 100% (61763/61763), 19.84 MiB | 7.58 MiB/s  
  506. Receiving objects: 100% (61763/61763), 20.22 MiB | 7.58 MiB/s, done.
  507. \Resolving deltas:   0% (0/44878)  
  508. Resolving deltas:   1% (479/44878)  
  509. Resolving deltas:   2% (938/44878)  
  510. Resolving deltas:   3% (1423/44878)  
  511. Resolving deltas:   4% (1806/44878)  
  512. Resolving deltas:   5% (2304/44878)  
  513. Resolving deltas:   6% (2699/44878)  
  514. Resolving deltas:   7% (3559/44878)  
  515. Resolving deltas:   8% (3604/44878)  
  516. Resolving deltas:   9% (4079/44878)  
  517. Resolving deltas:  10% (4502/44878)  
  518. Resolving deltas:  11% (5008/44878)  
  519. Resolving deltas:  12% (5391/44878)  
  520. Resolving deltas:  13% (5841/44878)  
  521. Resolving deltas:  14% (6448/44878)  
  522. Resolving deltas:  15% (6759/44878)  
  523. Resolving deltas:  16% (7194/44878)  
  524. Resolving deltas:  17% (7885/44878)  
  525. Resolving deltas:  18% (8340/44878)  
  526. Resolving deltas:  19% (8542/44878)  
  527. Resolving deltas:  20% (8978/44878)  
  528. Resolving deltas:  21% (9538/44878)  
  529. Resolving deltas:  22% (9880/44878)  
  530. Resolving deltas:  23% (10351/44878)  
  531. Resolving deltas:  24% (10805/44878)  
  532. Resolving deltas:  25% (11247/44878)  
  533. Resolving deltas:  26% (11737/44878)  
  534. Resolving deltas:  27% (12126/44878)  
  535. Resolving deltas:  28% (12569/44878)  
  536. Resolving deltas:  29% (13023/44878)  
  537. Resolving deltas:  30% (13506/44878)  
  538. Resolving deltas:  31% (14111/44878)  
  539. Resolving deltas:  32% (14369/44878)  
  540. Resolving deltas:  33% (14818/44878)  
  541. Resolving deltas:  34% (15272/44878)  
  542. Resolving deltas:  35% (15804/44878)  
  543. Resolving deltas:  36% (16250/44878)  
  544. Resolving deltas:  37% (16632/44878)  
  545. Resolving deltas:  38% (17075/44878)  
  546. Resolving deltas:  39% (17510/44878)  
  547. Resolving deltas:  40% (17976/44878)  
  548. Resolving deltas:  41% (18629/44878)  
  549. Resolving deltas:  42% (18953/44878)  
  550. Resolving deltas:  43% (19393/44878)  
  551. Resolving deltas:  44% (19757/44878)  
  552. Resolving deltas:  45% (20201/44878)  
  553. Resolving deltas:  46% (20669/44878)  
  554. Resolving deltas:  47% (21151/44878)  
  555. Resolving deltas:  48% (21553/44878)  
  556. Resolving deltas:  49% (22000/44878)  
  557. Resolving deltas:  50% (22447/44878)  
  558. Resolving deltas:  52% (23415/44878)  
  559. Resolving deltas:  53% (23805/44878)  
  560. Resolving deltas:  54% (24416/44878)  
  561. Resolving deltas:  55% (24839/44878)  
  562. Resolving deltas:  56% (25269/44878)  
  563. Resolving deltas:  57% (25612/44878)  
  564. Resolving deltas:  58% (26037/44878)  
  565. Resolving deltas:  59% (26809/44878)  
  566. Resolving deltas:  60% (26998/44878)  
  567. Resolving deltas:  61% (27534/44878)  
  568. Resolving deltas:  62% (27920/44878)  
  569. Resolving deltas:  62% (28103/44878)  
  570. Resolving deltas:  63% (28336/44878)  
  571. Resolving deltas:  64% (28746/44878)  
  572. Resolving deltas:  65% (29286/44878)  
  573. Resolving deltas:  66% (29624/44878)  
  574. Resolving deltas:  67% (30162/44878)  
  575. Resolving deltas:  68% (30538/44878)  
  576. Resolving deltas:  69% (30985/44878)  
  577. Resolving deltas:  70% (31454/44878)  
  578. Resolving deltas:  72% (32716/44878)  
  579. Resolving deltas:  73% (32788/44878)  
  580. Resolving deltas:  74% (33355/44878)  
  581. Resolving deltas:  75% (33659/44878)  
  582. Resolving deltas:  76% (34299/44878)  
  583. Resolving deltas:  77% (34644/44878)  
  584. Resolving deltas:  78% (35075/44878)  
  585. Resolving deltas:  79% (35575/44878)  
  586. Resolving deltas:  80% (35904/44878)  
  587. Resolving deltas:  81% (36354/44878)  
  588. Resolving deltas:  82% (36859/44878)  
  589. Resolving deltas:  83% (37249/44878)  
  590. Resolving deltas:  84% (37838/44878)  
  591. Resolving deltas:  85% (38154/44878)  
  592. Resolving deltas:  86% (38614/44878)  
  593. Resolving deltas:  87% (39073/44878)  
  594. Resolving deltas:  88% (39498/44878)  
  595. Resolving deltas:  89% (40028/44878)  
  596. Resolving deltas:  90% (40395/44878)  
  597. Resolving deltas:  91% (40841/44878)  
  598. Resolving deltas:  92% (41289/44878)  
  599. Resolving deltas:  93% (41787/44878)  
  600. Resolving deltas:  94% (42195/44878)  
  601. Resolving deltas:  95% (42662/44878)  
  602. Resolving deltas:  96% (43085/44878)  
  603. Resolving deltas:  97% (43532/44878)  
  604. Resolving deltas:  98% (44035/44878)  
  605. Resolving deltas:  99% (44468/44878)  
  606. Resolving deltas: 100% (44878/44878)  
  607. Resolving deltas: 100% (44878/44878), done.
  608. Checking connectivity... done.
  609. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  610.  
  611. ubuntu@ip-172-31-16-146: ~]1;~]
  612. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\cd /opt/letsencrypt[?1l>\[?2004l
  613.  
  614. cd /opt/letsencrypt]1;cd\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  615.  
  616. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  617. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\[K[?1h=[?2004h\cd /opt/letsencrypt[19Dsudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt\[69D-H ./[24P[11C-auto certonly --standalone -d freelensia.com -d www.freelensia.com\[?1l>[?2004l
  618.  
  619. sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com -d ]1;./letsencrypt-auto\Bootstrapping dependencies for Debian-based OSes... (you can skip this with --no-bootstrap)
  620.  
  621. 0% [Working]
  622.            
  623. Get:1 https://download.docker.com/linux/ubuntu xenial InRelease [66.2 kB]
  624.  
  625. 0% [Connecting to ap-southeast-1.ec2.archive.ubuntu.com] [Connecting to security.ubuntu.com] [1 InRelease 0 B/66.2 kB 0%] [Connecting to ppa.launchpad.net]
  626.                                                                                                                                                          
  627. 0% [Connecting to ap-southeast-1.ec2.archive.ubuntu.com] [Connecting to security.ubuntu.com] [Connecting to ppa.launchpad.net]
  628. 0% [1 InRelease gpgv 66.2 kB] [Connecting to ap-southeast-1.ec2.archive.ubuntu.com] [Connecting to security.ubuntu.com] [Connecting to ppa.launchpad.net]
  629.                                                                                                                                                        
  630. Hit:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial InRelease
  631.  
  632.                                                                                                                                                        
  633. 0% [Waiting for headers] [Connecting to security.ubuntu.com] [Connecting to nginx.org] [Connecting to ppa.launchpad.net]
  634. 0% [2 InRelease gpgv 247 kB] [Waiting for headers] [Connecting to security.ubuntu.com] [Connecting to nginx.org] [Connecting to ppa.launchpad.net]
  635.                                                                                                                                                  
  636. Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
  637.  
  638. 0% [2 InRelease gpgv 247 kB] [3 InRelease 65.0 kB/109 kB 60%] [Connecting to security.ubuntu.com] [Connecting to nginx.org] [Connecting to ppa.launchpad.net]
  639.                                                                                                                                                            
  640. 0% [2 InRelease gpgv 247 kB] [Connecting to security.ubuntu.com] [Connecting to nginx.org] [Connecting to ppa.launchpad.net]
  641.                                                                                                                            
  642. Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
  643.  
  644. 0% [2 InRelease gpgv 247 kB] [Connecting to security.ubuntu.com (91.189.88.161)] [Connecting to nginx.org] [Connecting to ppa.launchpad.net]
  645.                                                                                                                                            
  646. 0% [Connecting to security.ubuntu.com (91.189.88.161)] [Connecting to nginx.org] [Connecting to ppa.launchpad.net]
  647. 0% [3 InRelease gpgv 109 kB] [Connecting to security.ubuntu.com (91.189.88.161)] [Connecting to nginx.org] [Connecting to ppa.launchpad.net (91.189.95.83)]
  648.                                                                                                                                                          
  649. 0% [Connecting to security.ubuntu.com (91.189.88.161)] [Connecting to nginx.org] [Connecting to ppa.launchpad.net (91.189.95.83)]
  650. 0% [4 InRelease gpgv 107 kB] [Connecting to security.ubuntu.com (91.189.88.161)] [Connecting to nginx.org] [Connecting to ppa.launchpad.net (91.189.95.83)]
  651.                                                                                                                                                          
  652. 0% [Connecting to security.ubuntu.com (91.189.88.161)] [Connecting to nginx.org] [Connecting to ppa.launchpad.net (91.189.95.83)]
  653.                                                                                                                                
  654. Hit:5 http://nginx.org/packages/ubuntu xenial InRelease
  655.  
  656.                                                                                                                                
  657. 0% [Waiting for headers] [Waiting for headers]
  658. 0% [5 InRelease gpgv 4,339 B] [Waiting for headers] [Waiting for headers]
  659.                                                                        
  660. 0% [Waiting for headers] [Waiting for headers]
  661.                                              
  662. Hit:6 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease
  663.  
  664.                                              
  665. 0% [Waiting for headers]
  666. 0% [6 InRelease gpgv 24.3 kB] [Waiting for headers]
  667.                                                  
  668. 0% [Waiting for headers]
  669.                        
  670. Get:7 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
  671.  
  672. 0% [7 InRelease 2,586 B/107 kB 2%]
  673. 0% [7 InRelease 33.0 kB/107 kB 31%]
  674. 0% [7 InRelease 92.4 kB/107 kB 86%]
  675.                                  
  676. 0% [Working]
  677. 0% [7 InRelease gpgv 107 kB]
  678.                            
  679. 100% [Working]
  680.              
  681. Fetched 389 kB in 2s (156 kB/s)
  682.  
  683. Reading package lists... 0%
  684.  
  685. Reading package lists... 0%
  686.  
  687. Reading package lists... 1%
  688.  
  689. Reading package lists... 6%
  690.  
  691. Reading package lists... 6%
  692.  
  693. Reading package lists... 9%
  694.  
  695. Reading package lists... 9%
  696.  
  697. Reading package lists... 9%
  698.  
  699. Reading package lists... 9%
  700.  
  701. Reading package lists... 9%
  702.  
  703. Reading package lists... 9%
  704.  
  705. Reading package lists... 47%
  706.  
  707. Reading package lists... 47%
  708.  
  709. Reading package lists... 69%
  710.  
  711. Reading package lists... 69%
  712.  
  713. Reading package lists... 69%
  714.  
  715. Reading package lists... 69%
  716.  
  717. Reading package lists... 70%
  718.  
  719. Reading package lists... 70%
  720.  
  721. Reading package lists... 70%
  722.  
  723. Reading package lists... 75%
  724.  
  725. Reading package lists... 75%
  726.  
  727. Reading package lists... 80%
  728.  
  729. Reading package lists... 80%
  730.  
  731. Reading package lists... 80%
  732.  
  733. Reading package lists... 80%
  734.  
  735. Reading package lists... 80%
  736.  
  737. Reading package lists... 80%
  738.  
  739. Reading package lists... 85%
  740.  
  741. Reading package lists... 85%
  742.  
  743. Reading package lists... 87%
  744.  
  745. Reading package lists... 87%
  746.  
  747. Reading package lists... 87%
  748.  
  749. Reading package lists... 87%
  750.  
  751. Reading package lists... 87%
  752.  
  753. Reading package lists... 87%
  754.  
  755. Reading package lists... 87%
  756.  
  757. Reading package lists... 87%
  758.  
  759. Reading package lists... 87%
  760.  
  761. Reading package lists... 87%
  762.  
  763. Reading package lists... 87%
  764.  
  765. Reading package lists... 87%
  766.  
  767. Reading package lists... 87%
  768.  
  769. Reading package lists... 87%
  770.  
  771. Reading package lists... 91%
  772.  
  773. Reading package lists... 91%
  774.  
  775. Reading package lists... 94%
  776.  
  777. Reading package lists... 94%
  778.  
  779. Reading package lists... 94%
  780.  
  781. Reading package lists... 94%
  782.  
  783. Reading package lists... 95%
  784.  
  785. Reading package lists... 95%
  786.  
  787. Reading package lists... 97%
  788.  
  789. Reading package lists... 97%
  790.  
  791. Reading package lists... 99%
  792.  
  793. Reading package lists... 99%
  794.  
  795. Reading package lists... 99%
  796.  
  797. Reading package lists... 99%
  798.  
  799. Reading package lists... 99%
  800.  
  801. Reading package lists... 99%
  802.  
  803. Reading package lists... 99%
  804.  
  805. Reading package lists... 99%
  806.  
  807. Reading package lists... 99%
  808.  
  809. Reading package lists... 99%
  810.  
  811. Reading package lists... 99%
  812.  
  813. Reading package lists... 99%
  814.  
  815. Reading package lists... 99%
  816.  
  817. Reading package lists... 99%
  818.  
  819. Reading package lists... Done
  820.  
  821.  
  822. Reading package lists... 0%
  823.  
  824. Reading package lists... 100%
  825.  
  826. Reading package lists... Done
  827.  
  828.  
  829. Building dependency tree... 0%
  830.  
  831. Building dependency tree... 0%
  832.  
  833. Building dependency tree... 50%
  834.  
  835. Building dependency tree... 50%
  836.  
  837. Building dependency tree      
  838.  
  839.  
  840. Reading state information... 0%
  841.  
  842. Reading state information... 0%
  843.  
  844. Reading state information... Done
  845.  
  846. gcc is already the newest version (4:5.3.1-1ubuntu1).
  847. gcc set to manually installed.
  848. libffi-dev is already the newest version (3.2.1-4).
  849. libssl-dev is already the newest version (1.0.2g-1ubuntu4.14).
  850. libssl-dev set to manually installed.
  851. openssl is already the newest version (1.0.2g-1ubuntu4.14).
  852. The following packages were automatically installed and are no longer required:
  853.  linux-aws-headers-4.4.0-1044 linux-aws-headers-4.4.0-1047 linux-aws-headers-4.4.0-1048 linux-aws-headers-4.4.0-1049 linux-aws-headers-4.4.0-1052 linux-aws-headers-4.4.0-1054 linux-aws-headers-4.4.0-1055 linux-aws-headers-4.4.0-1057
  854.  linux-aws-headers-4.4.0-1060 linux-aws-headers-4.4.0-1061 linux-aws-headers-4.4.0-1062 linux-aws-headers-4.4.0-1065 linux-aws-headers-4.4.0-1066 linux-aws-headers-4.4.0-1069 linux-headers-4.4.0-1044-aws linux-headers-4.4.0-1047-aws
  855.  linux-headers-4.4.0-1048-aws linux-headers-4.4.0-1049-aws linux-headers-4.4.0-1052-aws linux-headers-4.4.0-1054-aws linux-headers-4.4.0-1055-aws linux-headers-4.4.0-1057-aws linux-headers-4.4.0-1060-aws linux-headers-4.4.0-1061-aws
  856.  linux-headers-4.4.0-1062-aws linux-headers-4.4.0-1065-aws linux-headers-4.4.0-1066-aws linux-headers-4.4.0-1069-aws linux-image-4.4.0-1044-aws linux-image-4.4.0-1047-aws linux-image-4.4.0-1048-aws linux-image-4.4.0-1049-aws
  857.  linux-image-4.4.0-1052-aws linux-image-4.4.0-1054-aws linux-image-4.4.0-1055-aws linux-image-4.4.0-1057-aws linux-image-4.4.0-1060-aws linux-image-4.4.0-1061-aws linux-image-4.4.0-1062-aws linux-image-4.4.0-1065-aws
  858.  linux-image-4.4.0-1066-aws linux-image-4.4.0-1069-aws
  859. Use 'sudo apt autoremove' to remove them.
  860. The following additional packages will be installed:
  861.  libpython-dev libpython-stdlib libpython2.7 libpython2.7-dev python-minimal python-pip-whl python2.7-dev python3-virtualenv
  862. Suggested packages:
  863.  augeas-doc augeas-tools python-doc python-tk
  864. The following NEW packages will be installed:
  865.  augeas-lenses libaugeas0 libpython-dev libpython2.7 libpython2.7-dev python-dev python-pip-whl python-virtualenv python2.7-dev python3-virtualenv virtualenv
  866. The following packages will be upgraded:
  867.  ca-certificates libpython-stdlib python python-minimal
  868. 4 upgraded, 11 newly installed, 0 to remove and 132 not upgraded.
  869. Need to get 31.1 MB of archives.
  870. After this operation, 48.4 MB of additional disk space will be used.
  871.  
  872. 0% [Working]
  873.            
  874. Get:1 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-minimal amd64 2.7.12-1~16.04 [28.1 kB]
  875.  
  876. 0% [1 python-minimal 0 B/28.1 kB 0%]
  877.                                    
  878. 1% [Working]
  879.            
  880. Get:2 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python amd64 2.7.12-1~16.04 [137 kB]
  881.  
  882. 1% [2 python 0 B/137 kB 0%]
  883.                          
  884. 3% [Working]
  885.            
  886. Get:3 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython-stdlib amd64 2.7.12-1~16.04 [7,768 B]
  887.  
  888. 3% [3 libpython-stdlib 0 B/7,768 B 0%]
  889.                                      
  890. 4% [Working]
  891.            
  892. Get:4 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 ca-certificates all 20170717~16.04.2 [167 kB]
  893.  
  894. 4% [4 ca-certificates 0 B/167 kB 0%]
  895.                                    
  896. 6% [Working]
  897.            
  898. Get:5 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 augeas-lenses all 1.4.0-0ubuntu1.1 [263 kB]
  899.  
  900. 6% [5 augeas-lenses 0 B/263 kB 0%]
  901.                                  
  902. 8% [Working]
  903.            
  904. Get:6 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libaugeas0 amd64 1.4.0-0ubuntu1.1 [154 kB]
  905.  
  906. 8% [6 libaugeas0 0 B/154 kB 0%]
  907.                              
  908. 10% [Working]
  909.            
  910. Get:7 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7 amd64 2.7.12-1ubuntu0~16.04.4 [1,071 kB]
  911.  
  912. 10% [7 libpython2.7 0 B/1,071 kB 0%]
  913.                                    
  914. 14% [Working]
  915.            
  916. Get:8 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython2.7-dev amd64 2.7.12-1ubuntu0~16.04.4 [27.8 MB]
  917.  
  918. 14% [8 libpython2.7-dev 0 B/27.8 MB 0%]
  919.                                      
  920. 87% [Working]
  921.            
  922. Get:9 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libpython-dev amd64 2.7.12-1~16.04 [7,840 B]
  923.  
  924. 87% [9 libpython-dev 0 B/7,840 B 0%]
  925.                                    
  926. 88% [Working]
  927.            
  928. Get:10 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python2.7-dev amd64 2.7.12-1ubuntu0~16.04.4 [276 kB]
  929.  
  930. 88% [10 python2.7-dev 0 B/276 kB 0%]
  931.                                    
  932. 90% [Working]
  933.            
  934. Get:11 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python-dev amd64 2.7.12-1~16.04 [1,186 B]
  935.  
  936. 90% [11 python-dev 0 B/1,186 B 0%]
  937.                                  
  938. 92% [Working]
  939.            
  940. Get:12 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-pip-whl all 8.1.1-2ubuntu0.4 [1,110 kB]
  941.  
  942. 92% [12 python-pip-whl 0 B/1,110 kB 0%]
  943.                                      
  944. 96% [Working]
  945.            
  946. Get:13 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python-virtualenv all 15.0.1+ds-3ubuntu1 [46.6 kB]
  947.  
  948. 96% [13 python-virtualenv 0 B/46.6 kB 0%]
  949.                                        
  950. 97% [Working]
  951.            
  952. Get:14 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 python3-virtualenv all 15.0.1+ds-3ubuntu1 [43.2 kB]
  953.  
  954. 97% [14 python3-virtualenv 0 B/43.2 kB 0%]
  955.                                          
  956. 99% [Working]
  957.            
  958. Get:15 http://ap-southeast-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 virtualenv all 15.0.1+ds-3ubuntu1 [4,342 B]
  959.  
  960. 99% [15 virtualenv 0 B/4,342 B 0%]
  961.                                  
  962. 100% [Working]
  963.              
  964. Fetched 31.1 MB in 0s (50.0 MB/s)
  965. Preconfiguring packages ...
  966. (Reading database ...
  967. (Reading database ... 5%
  968. (Reading database ... 10%
  969. (Reading database ... 15%
  970. (Reading database ... 20%
  971. (Reading database ... 25%
  972. (Reading database ... 30%
  973. (Reading database ... 35%
  974. (Reading database ... 40%
  975. (Reading database ... 45%
  976. (Reading database ... 50%
  977. (Reading database ... 55%
  978. (Reading database ... 60%
  979. (Reading database ... 65%
  980. (Reading database ... 70%
  981. (Reading database ... 75%
  982. (Reading database ... 80%
  983. (Reading database ... 85%
  984. (Reading database ... 90%
  985. (Reading database ... 95%
  986. (Reading database ... 100%
  987. (Reading database ... 497651 files and directories currently installed.)
  988. Preparing to unpack .../python-minimal_2.7.12-1~16.04_amd64.deb ...
  989. Unpacking python-minimal (2.7.12-1~16.04) over (2.7.11-1) ...
  990. Processing triggers for man-db (2.7.5-1) ...
  991. Setting up python-minimal (2.7.12-1~16.04) ...
  992. (Reading database ...
  993. (Reading database ... 5%
  994. (Reading database ... 10%
  995. (Reading database ... 15%
  996. (Reading database ... 20%
  997. (Reading database ... 25%
  998. (Reading database ... 30%
  999. (Reading database ... 35%
  1000. (Reading database ... 40%
  1001. (Reading database ... 45%
  1002. (Reading database ... 50%
  1003. (Reading database ... 55%
  1004. (Reading database ... 60%
  1005. (Reading database ... 65%
  1006. (Reading database ... 70%
  1007. (Reading database ... 75%
  1008. (Reading database ... 80%
  1009. (Reading database ... 85%
  1010. (Reading database ... 90%
  1011. (Reading database ... 95%
  1012. (Reading database ... 100%
  1013. (Reading database ... 497651 files and directories currently installed.)
  1014. Preparing to unpack .../python_2.7.12-1~16.04_amd64.deb ...
  1015. Unpacking python (2.7.12-1~16.04) over (2.7.11-1) ...
  1016. Preparing to unpack .../libpython-stdlib_2.7.12-1~16.04_amd64.deb ...
  1017. Unpacking libpython-stdlib:amd64 (2.7.12-1~16.04) over (2.7.11-1) ...
  1018. Preparing to unpack .../ca-certificates_20170717~16.04.2_all.deb ...
  1019. Unpacking ca-certificates (20170717~16.04.2) over (20170717~16.04.1) ...
  1020. Selecting previously unselected package augeas-lenses.
  1021. Preparing to unpack .../augeas-lenses_1.4.0-0ubuntu1.1_all.deb ...
  1022. Unpacking augeas-lenses (1.4.0-0ubuntu1.1) ...
  1023. Selecting previously unselected package libaugeas0.
  1024. Preparing to unpack .../libaugeas0_1.4.0-0ubuntu1.1_amd64.deb ...
  1025. Unpacking libaugeas0 (1.4.0-0ubuntu1.1) ...
  1026. Selecting previously unselected package libpython2.7:amd64.
  1027. Preparing to unpack .../libpython2.7_2.7.12-1ubuntu0~16.04.4_amd64.deb ...
  1028. Unpacking libpython2.7:amd64 (2.7.12-1ubuntu0~16.04.4) ...
  1029. Selecting previously unselected package libpython2.7-dev:amd64.
  1030. Preparing to unpack .../libpython2.7-dev_2.7.12-1ubuntu0~16.04.4_amd64.deb ...
  1031. Unpacking libpython2.7-dev:amd64 (2.7.12-1ubuntu0~16.04.4) ...
  1032. Selecting previously unselected package libpython-dev:amd64.
  1033. Preparing to unpack .../libpython-dev_2.7.12-1~16.04_amd64.deb ...
  1034. Unpacking libpython-dev:amd64 (2.7.12-1~16.04) ...
  1035. Selecting previously unselected package python2.7-dev.
  1036. Preparing to unpack .../python2.7-dev_2.7.12-1ubuntu0~16.04.4_amd64.deb ...
  1037. Unpacking python2.7-dev (2.7.12-1ubuntu0~16.04.4) ...
  1038. Selecting previously unselected package python-dev.
  1039. Preparing to unpack .../python-dev_2.7.12-1~16.04_amd64.deb ...
  1040. Unpacking python-dev (2.7.12-1~16.04) ...
  1041. Selecting previously unselected package python-pip-whl.
  1042. Preparing to unpack .../python-pip-whl_8.1.1-2ubuntu0.4_all.deb ...
  1043. Unpacking python-pip-whl (8.1.1-2ubuntu0.4) ...
  1044. Selecting previously unselected package python-virtualenv.
  1045. Preparing to unpack .../python-virtualenv_15.0.1+ds-3ubuntu1_all.deb ...
  1046. Unpacking python-virtualenv (15.0.1+ds-3ubuntu1) ...
  1047. Selecting previously unselected package python3-virtualenv.
  1048. Preparing to unpack .../python3-virtualenv_15.0.1+ds-3ubuntu1_all.deb ...
  1049. Unpacking python3-virtualenv (15.0.1+ds-3ubuntu1) ...
  1050. Selecting previously unselected package virtualenv.
  1051. Preparing to unpack .../virtualenv_15.0.1+ds-3ubuntu1_all.deb ...
  1052. Unpacking virtualenv (15.0.1+ds-3ubuntu1) ...
  1053. Processing triggers for man-db (2.7.5-1) ...
  1054. Processing triggers for libc-bin (2.23-0ubuntu10) ...
  1055. Setting up libpython-stdlib:amd64 (2.7.12-1~16.04) ...
  1056. Setting up python (2.7.12-1~16.04) ...
  1057. Setting up ca-certificates (20170717~16.04.2) ...
  1058. Setting up augeas-lenses (1.4.0-0ubuntu1.1) ...
  1059. Setting up libaugeas0 (1.4.0-0ubuntu1.1) ...
  1060. Setting up libpython2.7:amd64 (2.7.12-1ubuntu0~16.04.4) ...
  1061. Setting up libpython2.7-dev:amd64 (2.7.12-1ubuntu0~16.04.4) ...
  1062. Setting up libpython-dev:amd64 (2.7.12-1~16.04) ...
  1063. Setting up python2.7-dev (2.7.12-1ubuntu0~16.04.4) ...
  1064. Setting up python-dev (2.7.12-1~16.04) ...
  1065. Setting up python-pip-whl (8.1.1-2ubuntu0.4) ...
  1066. Setting up python-virtualenv (15.0.1+ds-3ubuntu1) ...
  1067. Setting up python3-virtualenv (15.0.1+ds-3ubuntu1) ...
  1068. Setting up virtualenv (15.0.1+ds-3ubuntu1) ...
  1069. Processing triggers for ca-certificates (20170717~16.04.2) ...
  1070. Updating certificates in /etc/ssl/certs...
  1071. 0 added, 0 removed; done.
  1072. Running hooks in /etc/ca-certificates/update.d...
  1073. done.
  1074. Processing triggers for libc-bin (2.23-0ubuntu10) ...
  1075. Creating virtual environment...
  1076. Installing Python packages...
  1077. Installation succeeded.
  1078. Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1079. Plugins selected: Authenticator standalone, Installer None
  1080. Obtaining a new certificate
  1081. Performing the following challenges:
  1082. http-01 challenge for freelensia.com
  1083. http-01 challenge for www.freelensia.com
  1084. Cleaning up challenges
  1085. Problem binding to port 80: Could not bind to IPv4 or IPv6.
  1086. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1087.  
  1088. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1089. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com -d www.freelensia.com[88Dcd /opt[P[P[12C                                                                     [69D\[19Dsudo git clone https://github.com/letsencrypt/letsencrypt /opt/letsencrypt\[69D-H ./[24P[11C-auto certonly --standalone -d freelensia.com -d www.freelensia.com\[83Dcertbot --nginx [28P[18C                                                 [50D\[25Drenew --dry-run          [10D\[15D--nginx -d freelensia.com -d www.freelensia.com\[47Drenew                                          [42D\certificates[?1l>[?2004l
  1090.  
  1091. sudo certbot certificates]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1092.  
  1093. -------------------------------------------------------------------------------
  1094. No certs found.
  1095. -------------------------------------------------------------------------------
  1096. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1097.  
  1098. ]ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt\
  1099. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\./certbot-auto certificates[?1l>[?2004l
  1100.  
  1101. ./certbot-auto certificates]1;./certbot-auto\Requesting to rerun ./certbot-auto with root privileges...
  1102. Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1103.  
  1104. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1105. No certs found.
  1106. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1107. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1108.  
  1109. ]ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt
  1110. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo ls /etc/letsencrypt/live[?1l>[?2004l
  1111.  
  1112. sudo ls /etc/letsencrypt/live]1;ls\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1113.  
  1114. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1115. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo ls /etc/letsencrypt/live[29D./certbot-auto certificates  \[27Dsudo certbot[P[P[13C  \[20D-H ./letsencrypt-auto certonly --standalone -d freelensia.com -d www.freelensia.com\[?1l>[?2004l
  1116.  
  1117. sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com -d ]1;./letsencrypt-auto\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1118. Plugins selected: Authenticator standalone, Installer None
  1119. Obtaining a new certificate
  1120. Performing the following challenges:
  1121. http-01 challenge for www.freelensia.com
  1122. http-01 challenge for freelensia.com
  1123. Cleaning up challenges
  1124. Problem binding to port 80: Could not bind to IPv4 or IPv6.
  1125. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1126.  
  1127. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1128. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\Problem binding to port 80: Could not bind to IPv4 or IPv6.                                              P  netstat -ln[?1l>[?2004l
  1129.  
  1130. netstat -ln]1;netstat\Active Internet connections (only servers)
  1131. Proto Recv-Q Send-Q Local Address           Foreign Address         State      
  1132. tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN    
  1133. tcp        0      0 0.0.0.0:2812            0.0.0.0:*               LISTEN    
  1134. tcp        0      0 127.0.0.1:6379          0.0.0.0:*               LISTEN    
  1135. tcp        0      0 0.0.0.0:3564            0.0.0.0:*               LISTEN    
  1136. tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN    
  1137. tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN    
  1138. tcp6       0      0 :::8085                 :::*                    LISTEN    
  1139. tcp6       0      0 :::22                   :::*                    LISTEN    
  1140. tcp6       0      0 :::13306                :::*                    LISTEN    
  1141. udp        0      0 0.0.0.0:68              0.0.0.0:*                          
  1142. Active UNIX domain sockets (only servers)
  1143. Proto RefCnt Flags       Type       State         I-Node   Path
  1144. unix  2      [ ACC ]     STREAM     LISTENING     23917    /run/user/1000/systemd/private
  1145. unix  2      [ ACC ]     SEQPACKET  LISTENING     8826     /run/udev/control
  1146. unix  2      [ ACC ]     STREAM     LISTENING     13191    /run/acpid.socket
  1147. unix  2      [ ACC ]     STREAM     LISTENING     30222    /home/ubuntu/app/freelensia/shared/tmp/sockets/freelensia-puma.sock
  1148. unix  2      [ ACC ]     STREAM     LISTENING     13199    /var/lib/lxd/unix.socket
  1149. unix  2      [ ACC ]     STREAM     LISTENING     13193    /run/snapd-snap.socket
  1150. unix  2      [ ACC ]     STREAM     LISTENING     13194    /var/run/dbus/system_bus_socket
  1151. unix  2      [ ACC ]     STREAM     LISTENING     13195    /var/run/docker.sock
  1152. unix  2      [ ACC ]     STREAM     LISTENING     13198    /run/uuidd/request
  1153. unix  2      [ ACC ]     STREAM     LISTENING     17031    /var/run/docker/metrics.sock
  1154. unix  2      [ ACC ]     STREAM     LISTENING     17003    /var/run/docker/libcontainerd/docker-containerd.sock
  1155. unix  2      [ ACC ]     STREAM     LISTENING     17743    /run/docker/libnetwork/deeb831d8e316c54d20c03cf394f7e54eb852907f23db90c3a654bd2cb38bb1c.sock
  1156. unix  2      [ ACC ]     STREAM     LISTENING     13192    /run/snapd.socket
  1157. unix  2      [ ACC ]     STREAM     LISTENING     13360    @ISCSIADM_ABSTRACT_NAMESPACE
  1158. unix  2      [ ACC ]     STREAM     LISTENING     5336325  /run/systemd/private
  1159. unix  2      [ ACC ]     STREAM     LISTENING     8828     /run/systemd/journal/stdout
  1160. unix  2      [ ACC ]     STREAM     LISTENING     8830     /run/lvm/lvmpolld.socket
  1161. unix  2      [ ACC ]     STREAM     LISTENING     9132     /run/lvm/lvmetad.socket
  1162. [1m[7m%[27m[1m[0m                                                                                                                                                                                                              ]                                
  1163.  
  1164. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt
  1165. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\ccd[?1l>[?2004l
  1166.  
  1167. cd]1;cd\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1168.  
  1169. ubuntu@ip-172-31-16-146: ~]1;~]
  1170. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\cdnetstat -ln[11Dsudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com -d www.freelensia.com\[83Dls /etc/letsencrypt/live                                                           [59D\[29D./certbot-auto certificates  \[27Dsudo certbot[P[P[13C  \[?1l>[?2004l
  1171.  
  1172. sudo certbot certificates]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1173.  
  1174. -------------------------------------------------------------------------------
  1175. No certs found.
  1176. -------------------------------------------------------------------------------
  1177. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1178.  
  1179. ubuntu@ip-172-31-16-146: ~]1;~]
  1180. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\ssudo certbot certonly --manual -d example.com -d www.example.com
  1181.  
  1182. [K\[?2004l[K
  1183.  
  1184. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1185.  
  1186. ubuntu@ip-172-31-16-146:
  1187. [0m[27m[24m[J[01;31m➜  [36m~[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot certificates[25Dcd                       [23D\sudo certbot certificates[25D                         [25D\ssudo certbot certonly --manual -d freelensia.com -d www.freelensia.com[?1l>[?2004l
  1188.  
  1189. sudo certbot certonly --manual -d freelensia.com -d www.freelensia.com]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1190. Plugins selected: Authenticator manual, Installer None
  1191. Obtaining a new certificate
  1192. Performing the following challenges:
  1193. http-01 challenge for freelensia.com
  1194. http-01 challenge for www.freelensia.com
  1195.  
  1196. -------------------------------------------------------------------------------
  1197. NOTE: The IP of this machine will be publicly logged as having requested this
  1198. certificate. If you're running certbot in manual mode on a machine that is not
  1199. your server, please ensure you're okay with that.
  1200.  
  1201. Are you OK with your IP being logged?
  1202. -------------------------------------------------------------------------------
  1203. (Y)es/(N)o: Y
  1204.  
  1205. -------------------------------------------------------------------------------
  1206. Create a file containing just this data:
  1207.  
  1208. 9rLOl63-Oz72HghvkCMascEmgTzg56grlYuZ65ntc8I.f3b3H6kHEGpUO1cKsChLtn8v18A-g__KeNWQGw-K-_8
  1209.  
  1210. And make it available on your web server at this URL:
  1211.  
  1212. http://freelensia.com/.well-known/acme-challenge/9rLOl63-Oz72HghvkCMascEmgTzg56grlYuZ65ntc8I
  1213.  
  1214. -------------------------------------------------------------------------------
  1215. Press Enter to Continue
  1216.  
  1217. -------------------------------------------------------------------------------
  1218. Create a file containing just this data:
  1219.  
  1220. bK_-I8z9tVtf4UHMgV_OJ4KeygW44bHJ8umMF0c1B9A.f3b3H6kHEGpUO1cKsChLtn8v18A-g__KeNWQGw-K-_8
  1221.  
  1222. And make it available on your web server at this URL:
  1223.  
  1224. http://www.freelensia.com/.well-known/acme-challenge/bK_-I8z9tVtf4UHMgV_OJ4KeygW44bHJ8umMF0c1B9A
  1225.  
  1226. -------------------------------------------------------------------------------
  1227. Press Enter to Continue
  1228. Waiting for verification...
  1229. Cleaning up challenges
  1230. Failed authorization procedure. freelensia.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://freelensia.com/.well-known/acme-challenge/9rLOl63-Oz72HghvkCMascEmgTzg56grlYuZ65ntc8I: "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n\n  <meta charset=\"utf-8\">\n    <title>Freelensia - page not found</title>\n    <link href=", www.freelensia.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.freelensia.com/.well-known/acme-challenge/bK_-I8z9tVtf4UHMgV_OJ4KeygW44bHJ8umMF0c1B9A: "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n\n  <meta charset=\"utf-8\">\n    <title>Freelensia - page not found</title>\n    <link href="
  1231. [1m
  1232. IMPORTANT NOTES:]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\
  1233. [0m - The following errors were reported by the server:
  1234. \
  1235.   Domain: freelensia.com
  1236.   Type:   unauthorized
  1237.   Detail: Invalid response from
  1238.   http://freelensia.com/.well-known/acme-challenge/9rLOl63-Oz72HghvkCMascEmgTzg56grlYuZ65ntc8I:
  1239.   "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n\n  <meta
  1240.   charset=\"utf-8\">\n    <title>Freelensia - page not
  1241.   found</title>\n    <link href="
  1242.  
  1243.   Domain: www.freelensia.com
  1244.   Type:   unauthorized
  1245.   Detail: Invalid response from
  1246.   http://www.freelensia.com/.well-known/acme-challenge/bK_-I8z9tVtf4UHMgV_OJ4KeygW44bHJ8umMF0c1B9A:
  1247.   "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n\n  <meta
  1248.   charset=\"utf-8\">\n    <title>Freelensia - page not
  1249.   found</title>\n    <link href="
  1250.  
  1251.   To fix these errors, please make sure that your domain name was
  1252.   entered correctly and the DNS A/AAAA record(s) for that domain
  1253.   contain(s) the right IP address.
  1254. [1m[7m%[27m[1m[0m                                                                                                                                              ]                                                                                                
  1255.  
  1256. ubuntu@ip-172-31-16-146: ~]1;~
  1257. [0m[27m[24m[J[01;31m➜  [36m~[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot certonly --manual -d freelensia.com -d www.freelensia.com[53Dificates                                             [45D\[?1l>[?2004l
  1258.  
  1259. sudo certbot certificates]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1260.  
  1261. -------------------------------------------------------------------------------
  1262. No certs found.
  1263. -------------------------------------------------------------------------------
  1264. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1265.  
  1266. ]ubuntu@ip-172-31-16-146: ~]1;~
  1267. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot certificates[8Donly --manual -d freelensia.com -d www.freelensia.com\                    [?1l>[?2004l
  1268.  
  1269. sudo certbot certonly --manual -d freelensia.com]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1270. Plugins selected: Authenticator manual, Installer None
  1271. Obtaining a new certificate
  1272. Performing the following challenges:
  1273. http-01 challenge for freelensia.com
  1274.  
  1275. -------------------------------------------------------------------------------
  1276. NOTE: The IP of this machine will be publicly logged as having requested this
  1277. certificate. If you're running certbot in manual mode on a machine that is not
  1278. your server, please ensure you're okay with that.
  1279.  
  1280. Are you OK with your IP being logged?
  1281. -------------------------------------------------------------------------------
  1282. (Y)es/(N)o: N
  1283. Cleaning up challenges
  1284. Must agree to IP logging to proceed
  1285. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1286.  
  1287. ubuntu@ip-172-31-16-146: ~]1;~]
  1288. [0m[27m[24m[J[01;31m➜  [36m~[00m [K]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[?1h=[?2004h\sudo certbot certonly --manual -d freelensia.com[?1l>[?2004l
  1289.  
  1290. sudo certbot certonly --manual -d freelensia.com]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1291. Plugins selected: Authenticator manual, Installer None
  1292. Obtaining a new certificate
  1293. Performing the following challenges:
  1294. http-01 challenge for freelensia.com
  1295.  
  1296. -------------------------------------------------------------------------------
  1297. NOTE: The IP of this machine will be publicly logged as having requested this
  1298. certificate. If you're running certbot in manual mode on a machine that is not
  1299. your server, please ensure you're okay with that.
  1300.  
  1301. Are you OK with your IP being logged?
  1302. -------------------------------------------------------------------------------
  1303. (Y)es/(N)o: Y
  1304.  
  1305. -------------------------------------------------------------------------------
  1306. Create a file containing just this data:
  1307.  
  1308. 5blRwjygygIBkfAO0p1mRF4w1rBR9uukcNCbfbZtInI.f3b3H6kHEGpUO1cKsChLtn8v18A-g__KeNWQGw-K-_8
  1309.  
  1310. And make it available on your web server at this URL:
  1311.  
  1312. http://freelensia.com/.well-known/acme-challenge/5blRwjygygIBkfAO0p1mRF4w1rBR9uukcNCbfbZtInI
  1313.  
  1314. -------------------------------------------------------------------------------
  1315. Press Enter to Continue
  1316. Waiting for verification...
  1317. Cleaning up challenges
  1318. Failed authorization procedure. freelensia.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://freelensia.com/.well-known/acme-challenge/5blRwjygygIBkfAO0p1mRF4w1rBR9uukcNCbfbZtInI: "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n\n  <meta charset=\"utf-8\">\n    <title>Freelensia - page not found</title>\n    <link href="
  1319. [1m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\
  1320. IMPORTANT NOTES:
  1321. [0m - The following errors were reported by the server:
  1322. \
  1323.   Domain: freelensia.com
  1324.   Type:   unauthorized
  1325.   Detail: Invalid response from
  1326.   http://freelensia.com/.well-known/acme-challenge/5blRwjygygIBkfAO0p1mRF4w1rBR9uukcNCbfbZtInI:
  1327.   "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n\n  <meta
  1328.   charset=\"utf-8\">\n    <title>Freelensia - page not
  1329.   found</title>\n    <link href="
  1330.  
  1331.   To fix these errors, please make sure that your domain name was
  1332.   entered correctly and the DNS A/AAAA record(s) for that domain
  1333.   contain(s) the right IP address.
  1334. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1335.  
  1336. ubuntu@ip-172-31-16-146: ~]1;~
  1337. [0m[27m[24m[J[01;31m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot certonly --manual -d freelensia.comwfreelensia.com[14D\wfreelensia.com[14D\wfreelensia.com[14D\.freelensia.com[14D\[?1l>[?2004l
  1338.  
  1339. sudo certbot certonly --manual -d www.freelensia.com]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1340. Plugins selected: Authenticator manual, Installer None
  1341. Obtaining a new certificate
  1342. Performing the following challenges:
  1343. http-01 challenge for www.freelensia.com
  1344.  
  1345. -------------------------------------------------------------------------------
  1346. NOTE: The IP of this machine will be publicly logged as having requested this
  1347. certificate. If you're running certbot in manual mode on a machine that is not
  1348. your server, please ensure you're okay with that.
  1349.  
  1350. Are you OK with your IP being logged?
  1351. -------------------------------------------------------------------------------
  1352. (Y)es/(N)o: Y
  1353.  
  1354. -------------------------------------------------------------------------------
  1355. Create a file containing just this data:
  1356.  
  1357. xOmYjRFfockSAGaE2HSdHV_7paFmuIn2i2_FbjaP0uo.f3b3H6kHEGpUO1cKsChLtn8v18A-g__KeNWQGw-K-_8
  1358.  
  1359. And make it available on your web server at this URL:
  1360.  
  1361. http://www.freelensia.com/.well-known/acme-challenge/xOmYjRFfockSAGaE2HSdHV_7paFmuIn2i2_FbjaP0uo
  1362.  
  1363. -------------------------------------------------------------------------------
  1364. Press Enter to Continue
  1365. Waiting for verification...
  1366. Cleaning up challenges
  1367. Failed authorization procedure. www.freelensia.com (http-01): urn:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://www.freelensia.com/.well-known/acme-challenge/xOmYjRFfockSAGaE2HSdHV_7paFmuIn2i2_FbjaP0uo: "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n\n  <meta charset=\"utf-8\">\n    <title>Freelensia - page not found</title>\n    <link href="
  1368. [1m
  1369. IMPORTANT NOTES:
  1370. [0m - The following errors were reported by the server:
  1371. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\
  1372.   Domain: www.freelensia.com
  1373.   Type:   unauthorized
  1374.   Detail: Invalid response from
  1375.   http://www.freelensia.com/.well-known/acme-challenge/xOmYjRFfockSAGaE2HSdHV_7paFmuIn2i2_FbjaP0uo:
  1376.   "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n\n  <meta
  1377.   charset=\"utf-8\">\n    <title>Freelensia - page not
  1378.   found</title>\n    <link href="
  1379.  
  1380.   To fix these errors, please make sure that your domain name was
  1381.   entered correctly and the DNS A/AAAA record(s) for that domain
  1382.   contain(s) the right IP address.
  1383. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1384.  
  1385. ubuntu@ip-172-31-16-146: ~]1;~
  1386. [0m[27m[24m[J[01;31m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot certonly --manual -d www.freelensia.com[52D                                                    [52D\sudo certbot certonly --manual -d www.freelensia.com[?1l>[?2004l
  1387.  
  1388. sudo certbot certonly --manual -d www.freelensia.com]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1389. Plugins selected: Authenticator manual, Installer None
  1390. Obtaining a new certificate
  1391. Performing the following challenges:
  1392. http-01 challenge for www.freelensia.com
  1393.  
  1394. -------------------------------------------------------------------------------
  1395. NOTE: The IP of this machine will be publicly logged as having requested this
  1396. certificate. If you're running certbot in manual mode on a machine that is not
  1397. your server, please ensure you're okay with that.
  1398.  
  1399. Are you OK with your IP being logged?
  1400. -------------------------------------------------------------------------------
  1401. (Y)es/(N)o: Y
  1402.  
  1403. -------------------------------------------------------------------------------
  1404. Create a file containing just this data:
  1405.  
  1406. Mc5EeioYd8Ut4Stne4fXPz_qnJf1ueXiB3EMpUfuFng.f3b3H6kHEGpUO1cKsChLtn8v18A-g__KeNWQGw-K-_8
  1407.  
  1408. And make it available on your web server at this URL:
  1409.  
  1410. http://www.freelensia.com/.well-known/acme-challenge/Mc5EeioYd8Ut4Stne4fXPz_qnJf1ueXiB3EMpUfuFng
  1411.  
  1412. -------------------------------------------------------------------------------
  1413. Press Enter to Continue^CCleaning up challenges
  1414. [31mExiting abnormally:]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\
  1415. Traceback (most recent call last):
  1416.  File "/usr/bin/certbot", line 11, in <module>
  1417.    load_entry_point('certbot==0.19.0', 'console_scripts', 'certbot')()
  1418.  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 861, in main
  1419.    return config.func(config, plugins)
  1420.  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 786, in certonly
  1421.    lineage = _get_and_save_cert(le_client, config, domains, certname, lineage)
  1422.  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 85, in _get_and_save_cert
  1423.    lineage = le_client.obtain_and_enroll_certificate(domains, certname)
  1424.  File "/usr/lib/python2.7/dist-packages/certbot/client.py", line 357, in obtain_and_enroll_certificate
  1425.    certr, chain, key, _ = self.obtain_certificate(domains)
  1426.  File "/usr/lib/python2.7/dist-packages/certbot/client.py", line 318, in obtain_certificate
  1427.    self.config.allow_subset_of_names)
  1428.  File "/usr/lib/python2.7/dist-packages/certbot/auth_handler.py", line 74, in get_authorizations
  1429.    resp = self._solve_challenges()
  1430.  File "/usr/lib/python2.7/dist-packages/certbot/auth_handler.py", line 115, in _solve_challenges
  1431.    resp = self.auth.perform(self.achalls)
  1432.  File "/usr/lib/python2.7/dist-packages/certbot/plugins/manual.py", line 154, in perform
  1433.    perform_achall(achall)
  1434.  File "/usr/lib/python2.7/dist-packages/certbot/plugins/manual.py", line 213, in _perform_achall_manually
  1435.    display.notification(msg, wrap=False, force_interactive=True)
  1436.  File "/usr/lib/python2.7/dist-packages/certbot/display/util.py", line 122, in notification
  1437.    input_with_timeout("Press Enter to Continue")
  1438.  File "/usr/lib/python2.7/dist-packages/certbot/display/util.py", line 79, in input_with_timeout
  1439.    rlist, _, _ = select.select([sys.stdin], [], [], timeout)
  1440. KeyboardInterrupt[0m
  1441. Please see the logfiles in /var/log/letsencrypt for more details.
  1442. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1443.  
  1444. ubuntu@ip-172-31-16-146: ~]1;~
  1445. [0m[27m[24m[J[01;31m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]\➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot certonly --standalone --preferred-challenges http -d ư www.freels ensia.com[?1l>[?2004l
  1446.  
  1447. sudo certbot certonly --standalone --preferred-challenges http -d ]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1448. Plugins selected: Authenticator standalone, Installer None
  1449. Obtaining a new certificate
  1450. Performing the following challenges:
  1451. http-01 challenge for www.freelensia.com
  1452. Cleaning up challenges
  1453. Problem binding to port 80: Could not bind to IPv4 or IPv6.
  1454. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1455.  
  1456. ubuntu@ip-172-31-16-146: ~]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]1;~
  1457. [0m[27m[24m[J[01;31m➜  [36m~[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot certonly --standalone --preferred-challenges http -d www.freelensia.coms -d [2Cw.freelensia.com[22D\[?1l>[?2004l
  1458.  
  1459. sudo certbot certonly --standalone --preferred-challenges https -d ]1;certbot\usage:
  1460.  certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
  1461.  
  1462. Certbot can obtain and install HTTPS/TLS/SSL certificates.  By default,
  1463. it will attempt to use a webserver both for obtaining and installing the
  1464. certificate.
  1465. certbot: error: argument --preferred-challenges: Unrecognized challenges: https
  1466. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1467.  
  1468. ubuntu@ip-172-31-16-146: ~]1;~
  1469. [0m[27m[24m[J[01;31m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot certonly --standalone --preferred-challenges https -d www.freelensia.com[P[22C [23D\[P[22C [23D\[P[22C [23D\[P[22C [23D\[P[22C [23D\t -d [2Cw.freelensia.com[22D\l -d [2Cw.freelensia.com[22D\s -d [2Cw.freelensia.com[22D\- -d [2Cw.freelensia.com[22D\s -d [2Cw.freelensia.com[22D\n -d [2Cw.freelensia.com[22D\i -d [2Cw.freelensia.com[22D\[?1l>[?2004l
  1470.  
  1471. sudo certbot certonly --standalone --preferred-challenges tls-sni -d ]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1472. Plugins selected: Authenticator standalone, Installer None
  1473. Obtaining a new certificate
  1474. Performing the following challenges:
  1475. tls-sni-01 challenge for www.freelensia.com
  1476. Cleaning up challenges
  1477. Problem binding to port 443: Could not bind to IPv4 or IPv6.
  1478. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1479.  
  1480. ubuntu@ip-172-31-16-146: ~]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]1;~
  1481. [0m[27m[24m[J[01;31m➜  [36m~[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\cclear[?1l>[?2004l
  1482.  
  1483. clear]1;clear\[3;J[H[2J[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1484.  
  1485. ubuntu@ip-172-31-16-146: ~]1;~
  1486. [0m[27m[24m[J[01;32m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot --nginx [?1l>[?2004l
  1487.  
  1488. sudo certbot --nginx]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1489. [31mError while running nginx -c /etc/nginx/nginx.conf -t.
  1490.  
  1491. nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/freelensia.com/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
  1492. nginx: configuration file /etc/nginx/nginx.conf test failed
  1493. [0m
  1494. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\The nginx plugin is not working; there may be problems with your existing configuration.
  1495. The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(\'/etc/letsencrypt/live/freelensia.com/fullchain.pem\',\'r\') error:2006D080:BIO routines:BIO_new_file:no such file)\nnginx: configuration file /etc/nginx/nginx.conf test failed\n',)
  1496. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1497.  
  1498. ubuntu@ip-172-31-16-146: ~]1;~
  1499. [0m[27m[24m[J[01;31m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot --nginx certonly[?1l>[?2004l
  1500.  
  1501. sudo certbot --nginx certonly]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1502. [31mError while running nginx -c /etc/nginx/nginx.conf -t.
  1503.  
  1504. nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/freelensia.com/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
  1505. nginx: configuration file /etc/nginx/nginx.conf test failed
  1506. [0m
  1507. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\Could not choose appropriate plugin: The nginx plugin is not working; there may be problems with your existing configuration.
  1508. The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(\'/etc/letsencrypt/live/freelensia.com/fullchain.pem\',\'r\') error:2006D080:BIO routines:BIO_new_file:no such file)\nnginx: configuration file /etc/nginx/nginx.conf test failed\n',)
  1509. The nginx plugin is not working; there may be problems with your existing configuration.
  1510. The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(\'/etc/letsencrypt/live/freelensia.com/fullchain.pem\',\'r\') error:2006D080:BIO routines:BIO_new_file:no such file)\nnginx: configuration file /etc/nginx/nginx.conf test failed\n',)
  1511. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1512.  
  1513. ubuntu@ip-172-31-16-146: ~]1;~
  1514. [0m[27m[24m[J[01;31m➜  [36m~[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\ccd /etc[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m/
  1515.  
  1516. zsh: do you wish to see all 107 possibilities (9 lines)? \y
  1517. [J[01;34macpi[0m/               [01;34mbinfmt.d[0m/           [01;34mcron.monthly[0m/       [01;34mfonts[0m/              [01;34minitramfs-tools[0m/    [01;34mletsencrypt[0m/        [01;34mmodules-load.d[0m/     [01;34mperl[0m/               [01;34mpython3.5[0m/          [01;34mredis[0m/              [01;34mssl[0m/                [01;34mupdate-motd.d[0m/    
  1518. [01;34malternatives[0m/       [01;34mbyobu[0m/              [01;34mcron.weekly[0m/        [01;34mghostscript[0m/   \     [01;34minsserv[0m/            [01;34mlibpaper.d[0m/         [01;34mmonit[0m/              [01;34mpm[0m/                 [01;34mrc0.d[0m/              [01;34mresolvconf[0m/         [01;34msudoers.d[0m/          [01;34mupdate-notifier[0m/  
  1519. [01;34mapache2[0m/            [01;34mca-certificates[0m/    [01;34mdbus-1[0m/             [01;34mgroff[0m/              [01;34minsserv.conf.d[0m/     [01;34mlighttpd[0m/           [01;34mmysql[0m/              [01;34mpolkit-1[0m/      \     [01;34mrc1.d[0m/              [01;34mrsyslog.d[0m/          [01;34msysctl.d[0m/           [01;34mvim[0m/              
  1520. [01;34mapm[0m/                [01;34mcalendar[0m/           [01;34mdefault[0m/            [01;34mgrub.d[0m/             [01;34miproute2[0m/           [01;34mlogcheck[0m/           [01;34mnetwork[0m/            [01;34mpollinate[0m/          [01;34mrc2.d[0m/              [01;34msecurity[0m/           [01;34msystemd[0m/            [01;34mvmware-tools[0m/  \  
  1521. [01;34mapparmor[0m/           [01;34mcloud[0m/              [01;34mdepmod.d[0m/           [01;34mgss[0m/                [01;34miscsi[0m/              [01;34mlogrotate.d[0m/        [01;34mNetworkManager[0m/     [01;34mppp[0m/                [01;34mrc3.d[0m/              [01;34mselinux[0m/            [01;34mterminfo[0m/           [01;34mX11[0m/              
  1522. [01;34mapparmor.d[0m/         [01;34mconsole-setup[0m/      [01;34mdhcp[0m/               [01;34mgtk-2.0[0m/       \     [01;34mkbd[0m/                [01;34mlvm[0m/                [01;34mnewt[0m/               [01;34mprofile.d[0m/          [01;34mrc4.d[0m/              [01;34msgml[0m/               [01;34mtmpfiles.d[0m/         [01;34mxdg[0m/              
  1523. [01;34mapport[0m/             [01;34mcron.d[0m/             [01;34mdocker[0m/             [01;34mImageMagick-6[0m/      [01;34mkernel[0m/             [01;34mmc[0m/                 [01;34mnginx[0m/              [01;34mpython[0m/             \[01;34mrc5.d[0m/              [01;34mskel[0m/               [01;34mudev[0m/               [01;34mxml[0m/              
  1524. [01;34mapt[0m/                [01;34mcron.daily[0m/         [01;34mdpkg[0m/               [01;34minit[0m/               [01;34mldap[0m/               [01;34mmdadm[0m/              [01;34mopt[0m/                [01;34mpython2.7[0m/          [01;34mrc6.d[0m/              [01;34msphinxsearch[0m/       [01;34mufw[0m/                [01;34mzsh[0m/              
  1525. \[J[01;34mbash_completion.d[0m/  [J[01;34mcron.hourly[0m/        [J[01;34memacs[0m/              [J[01;34minit.d[0m/             [J[01;34mld.so.conf.d[0m/       [J[01;34mmodprobe.d[0m/         [J[01;34mpam.d[0m/              [J[01;34mpython3[0m/            [J[01;34mrcS.d[0m/              [J[01;34mssh[0m/                [J[01;34mupdate-manager[0m/     [J                  [9A[0m[27m[24m
  1526. [5Ccd /etc/[K\nginx[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m/
  1527.  
  1528. [J[J[01;34mconf.d[0m/           [J[01;36mmodules[0m@          [J[01;34msites-available[0m/  [J[01;34msites-enabled[0m/  [J[A[0m[27m[24m
  1529. [5Ccd /etc/nginx/[K]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\conf.d[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\
  1530.  
  1531. [J[7mconf.d/         [0m  [J[01;36mmodules[0m@          [J[01;34msites-available[0m/  [J[01;34msites-enabled[0m/  [J[A[0m[27m[24m
  1532. [5Ccd /etc/nginx/conf.d[1m/[0m[K]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\
  1533.  
  1534. [7mconf.d/         [0m  
  1535. [7mconf.d/         [0m  
  1536. [A[0m[27m[24m
  1537. [5Ccd /etc/nginx/conf.d[1m/[0m[K
  1538.  
  1539. [J[A[26C[0m/s]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\ite           sites-
  1540.  
  1541. [J[J[01;34msites-available[0m/  [J[01;34msites-enabled[0m/  [J[A[0m[27m[24m
  1542. [5Ccd /etc/nginx/sites-[K\enabled[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\
  1543.  
  1544. [J[A[33C\[0m [?1l>\[?2004l
  1545.  
  1546. [Jcd /etc/nginx/sites-enabled]1;cd\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1547.  
  1548. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled
  1549. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[?1h=[?2004h\lls[?1l>[?2004l
  1550.  
  1551. ls --color=tty]1;ls\[0m[01;36mfreelensia_production[0m
  1552. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1553.  
  1554. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]
  1555. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\ccat freelensia_production[1m [0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m [?1l>[?2004l
  1556.  
  1557. cat freelensia_production]1;catupstream puma_freelensia_production {
  1558.  server unix:/home/ubuntu/app/freelensia/shared/tmp/sockets/freelensia-puma.sock fail_timeout=0;
  1559. }\
  1560.  
  1561. server {
  1562.  listen 80;
  1563.  server_name www.freelensia.com freelensia.com;
  1564.  root /home/ubuntu/app/freelensia/current/public;
  1565.  try_files $uri/index.html $uri @puma_freelensia_production;
  1566.  
  1567.  client_max_body_size 4G;
  1568.  keepalive_timeout 10;
  1569.  
  1570.  error_page 500 502 504 /500.html;
  1571.  error_page 503 @503;
  1572.  
  1573.  location @puma_freelensia_production {
  1574.    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  1575.    proxy_set_header Host $http_host;
  1576.    proxy_set_header X-Forwarded-Proto https;
  1577.    proxy_redirect off;
  1578.    proxy_pass http://puma_freelensia_production;
  1579.    # limit_req zone=one;
  1580.    access_log /home/ubuntu/app/freelensia/shared/log/nginx.access.log;
  1581.    error_log /home/ubuntu/app/freelensia/shared/log/nginx.error.log;
  1582.  }
  1583.  
  1584.  location ^~ /assets/ {
  1585.    gzip_static on;
  1586.    expires max;
  1587.    add_header Cache-Control public;
  1588.  }
  1589.  
  1590.  location = /50x.html {
  1591.    root html;
  1592.  }
  1593.  
  1594.  location = /404.html {
  1595.    root html;
  1596.  }
  1597.  
  1598.  location @503 {
  1599.    error_page 405 = /system/maintenance.html;
  1600.    if (-f $document_root/system/maintenance.html) {
  1601.      rewrite ^(.*)$ /system/maintenance.html break;
  1602.    }
  1603.    rewrite ^(.*)$ /503.html break;
  1604.  }
  1605.  
  1606.  if ($request_method !~ ^(GET|HEAD|PUT|PATCH|POST|DELETE|OPTIONS)$ ){
  1607.    return 405;
  1608.  }
  1609.  
  1610.  if (-f $document_root/system/maintenance.html) {
  1611.    return 503;
  1612.  }
  1613.  
  1614.    listen 443 ssl http2; # managed by Certbot
  1615. ssl_certificate /etc/letsencrypt/live/freelensia.com/fullchain.pem; # managed by Certbot
  1616. ssl_certificate_key /etc/letsencrypt/live/freelensia.com/privkey.pem; # managed by Certbot
  1617.    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
  1618.    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
  1619.  
  1620.  
  1621.  
  1622.    # Redirect non-https traffic to https
  1623.    if ($scheme != "https") {
  1624.        return 301 https://$host$request_uri;
  1625.    } # managed by Certbot
  1626.  
  1627. }
  1628. [1m[7m%[27m[1m[0m                                                                                                                         ]                                                                                                                      
  1629.  
  1630. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled
  1631. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\ccd /etc[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m/e\ letsencrypt[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m/l\ive[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m [?1l>[?2004l
  1632.  
  1633. cd /etc/letsencrypt/live]1;cdcd: permission denied: /etc/letsencrypt/live
  1634. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1635.  
  1636. ]ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled
  1637. [0m[27m[24m[J[01;31m➜  [36msites-enabled[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\ssudo cd /     s  ccd /etc[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m/l\etsencrypt[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m \[?1l>[?2004l
  1638.  
  1639. cd /etc/letsencrypt]1;cd\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1640.  
  1641. ubuntu@ip-172-31-16-146: /etc/letsencrypt]1;..c/letsencrypt]
  1642. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\lls[?1l>\[?2004l
  1643.  
  1644. ls --color=tty]1;ls\[0m[01;34maccounts[0m  [01;34marchive[0m  [01;34mcsr[0m  [01;34mkeys[0m  [01;34mlive[0m  options-ssl-nginx.conf  [01;34mrenewal[0m  [01;34mrenewal-hooks[0m  ssl-dhparams.pem
  1645. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1646.  
  1647. ubuntu@ip-172-31-16-146: /etc/letsencrypt]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]1;..c/letsencrypt
  1648. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\ccat live[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m [?1l>[?2004l
  1649.  
  1650. cat live]1;catcat: live: Permission denied\
  1651. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1652.  
  1653. ubuntu@ip-172-31-16-146: /etc/letsencrypt]1;..c/letsencrypt
  1654. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\ssudo cd live[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m [?1l>[?2004l
  1655.  
  1656. sudo cd live]1;cd\sudo: cd: command not found
  1657. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1658.  
  1659. ubuntu@ip-172-31-16-146: /etc/letsencrypt]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]1;..c/letsencrypt
  1660. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\ccd live[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m [?1l>[?2004l
  1661.  
  1662. cd live]1;cdcd: permission denied: live
  1663. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1664.  
  1665. ]ubuntu@ip-172-31-16-146: /etc/letsencrypt]1;..c/letsencrypt
  1666. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\cclear[?1l>[?2004l
  1667.  
  1668. clear]1;clear\[3;J[H[2J[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1669.  
  1670. ubuntu@ip-172-31-16-146: /etc/letsencrypt]1;..c/letsencrypt]
  1671. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\clearcd livesudo cd live[12Dcat live    \[8Dls      \cd /etc/letsencrypt/live[24Dcat free[2Cnsia_production\[25Dls                       [23D\cd /etc/nginx/sites-enabled[27Dsudo certbot --nginx certonly\[8D        [8D\certonly[?1l>\[?2004l
  1672.  
  1673. sudo certbot --nginx certonly]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1674. [31mError while running nginx -c /etc/nginx/nginx.conf -t.
  1675.  
  1676. nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/freelensia.com/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
  1677. nginx: configuration file /etc/nginx/nginx.conf test failed
  1678. [0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\
  1679. Could not choose appropriate plugin: The nginx plugin is not working; there may be problems with your existing configuration.
  1680. The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(\'/etc/letsencrypt/live/freelensia.com/fullchain.pem\',\'r\') error:2006D080:BIO routines:BIO_new_file:no such file)\nnginx: configuration file /etc/nginx/nginx.conf test failed\n',)
  1681. The nginx plugin is not working; there may be problems with your existing configuration.
  1682. The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(\'/etc/letsencrypt/live/freelensia.com/fullchain.pem\',\'r\') error:2006D080:BIO routines:BIO_new_file:no such file)\nnginx: configuration file /etc/nginx/nginx.conf test failed\n',)
  1683. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1684.  
  1685. ubuntu@ip-172-31-16-146: /etc/letsencrypt]1;..c/letsencrypt
  1686. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo ls /etc/letsencrypt/live[?1l>[?2004l
  1687.  
  1688. sudo ls /etc/letsencrypt/live]1;ls\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1689.  
  1690. ]ubuntu@ip-172-31-16-146: /etc/letsencrypt]1;..c/letsencrypt\
  1691. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [K[?1h=]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[?2004h\cd /opt/letsencrypt[?1l>[?2004l
  1692.  
  1693. cd /opt/letsencrypt]1;cd\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1694.  
  1695. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1696. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo -H ./letsencrypt-auto certonly --standalone -d example.com.com .com .com .com .com .com .com f.comr.come.come.coml.come.comn.coms.comi.coma.com[?1l>[?2004l
  1697.  
  1698. sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com]1;./letsencrypt-auto\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1699. Plugins selected: Authenticator standalone, Installer None
  1700. Obtaining a new certificate
  1701. Performing the following challenges:
  1702. http-01 challenge for freelensia.com
  1703. Cleaning up challenges
  1704. Problem binding to port 80: Could not bind to IPv4 or IPv6.
  1705. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1706.  
  1707. ubuntu@ip-172-31-16-146: /opt/letsencrypt]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]1;..t/letsencrypt\
  1708. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\w -d freelensia.com[18D\e -d freelensia.com[18D\b -d freelensia.com[18D\r -d freelensia.com[18D\o -d freelensia.com[18D\o -d freelensia.com[18D\t -d freelensia.com[18D\[?1l>[?2004l
  1709.  
  1710. sudo -H ./letsencrypt-auto certonly --webroot -d freelensia.com]1;./letsencrypt-auto\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1711. Plugins selected: Authenticator webroot, Installer None
  1712. Obtaining a new certificate
  1713. Performing the following challenges:
  1714. http-01 challenge for freelensia.com
  1715. Input the webroot for freelensia.com: (Enter 'c' to cancel):
  1716.  
  1717. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1718. does not exist or is not a directory
  1719. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1720. Input the webroot for freelensia.com: (Enter 'c' to cancel): c
  1721. Cleaning up challenges
  1722. Every requested domain must have a webroot when using the webroot plugin.
  1723. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1724.  
  1725. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1726. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo -H ./letsencrypt-auto certonly --webroot -d freelensia.com[25Dstandalone -d freelensia.com\[28Dwebroot[3P[18C   \[25Dstandalone -d freelensia.com\[?1l>[?2004l
  1727.  
  1728. sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com]1;./letsencrypt-auto\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1729. Plugins selected: Authenticator standalone, Installer None
  1730. Obtaining a new certificate
  1731. Performing the following challenges:
  1732. http-01 challenge for freelensia.com
  1733. Cleaning up challenges
  1734. Problem binding to port 80: Could not bind to IPv4 or IPv6.
  1735. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1736.  
  1737. ubuntu@ip-172-31-16-146: /opt/letsencrypt]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]1;..t/letsencrypt\
  1738. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\service nginx start[?1l>[?2004l
  1739.  
  1740. service nginx start]1;service\[1;31m==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
  1741. [0mAuthentication is required to start 'nginx.service'.
  1742. Authenticating as: Ubuntu (ubuntu)
  1743. ]\\Password:
  1744. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1745.  
  1746. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1747. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\cclear[?1l>[?2004l
  1748.  
  1749. clear]1;clear\[3;J[H[2J[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1750.  
  1751. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1752. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\[K[?1h=[?2004h\clearservice nginx start   op[?1l>[?2004l
  1753.  
  1754. service nginx stop]1;service\[1;31m==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
  1755. [0mAuthentication is required to stop 'nginx.service'.
  1756. Authenticating as: Ubuntu (ubuntu)
  1757. ]\\Password: Failed to stop nginx.service: Connection timed out
  1758. See system logs and 'systemctl status nginx.service' for details.
  1759. polkit-agent-helper-1: pam_authenticate failed: Authentication failure
  1760. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1761.  
  1762. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1763. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\[?1h=[?2004h\service nginx stop[?1l>[?2004l
  1764.  
  1765. \service nginx stop]1;service\[1;31m==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
  1766. [0mAuthentication is required to stop 'nginx.service'.
  1767. ]\\Authenticating as: Ubuntu (ubuntu)
  1768. Password:
  1769. polkit-agent-helper-1: pam_authenticate failed: Authentication failure
  1770. [1;31m==== AUTHENTICATION FAILED ===
  1771. [0mFailed to stop nginx.service: Access denied
  1772. See system logs and 'systemctl status nginx.service' for details.
  1773. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1774.  
  1775. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]\]
  1776. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m ]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\[K[?1h=[?2004h\service nginx stop[?1l>\[?2004l
  1777.  
  1778. service nginx stop]1;service\[1;31m==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
  1779. [0mAuthentication is required to stop 'nginx.service'.
  1780. Authenticating as: Ubuntu (ubuntu)
  1781. ]\\Password: Failed to stop nginx.service: Connection timed out
  1782. See system logs and 'systemctl status nginx.service' for details.
  1783. polkit-agent-helper-1: pam_authenticate failed: Authentication failure
  1784. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1785.  
  1786. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/let]sencrypt\
  1787. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\[?2004h\service nginx stop[?1l>[?2004l
  1788.  
  1789. service nginx stop]1;service\[1;31m==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
  1790. [0mAuthentication is required to stop 'nginx.service'.
  1791. Authenticating as: Ubuntu (ubuntu)
  1792. ]\\Password: Failed to stop nginx.service: Connection timed out
  1793. See system logs and 'systemctl status nginx.service' for details.
  1794. polkit-agent-helper-1: pam_authenticate failed: Authentication failure
  1795. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1796.  
  1797. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1798. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004hppass]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\  p  service nginx stop[?1l>[?2004l
  1799.  
  1800. service nginx stop]1;service\[1;31m==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
  1801. [0mAuthentication is required to stop 'nginx.service'.
  1802. ]\\Authenticating as: Ubuntu (ubuntu)
  1803. Password:
  1804. polkit-agent-helper-1: pam_authenticate failed: Authentication failure
  1805. [1;31m==== AUTHENTICATION FAILED ===
  1806. [0mFailed to stop nginx.service: Access denied
  1807. See system logs and 'systemctl status nginx.service' for details.
  1808. ]\\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1809.  
  1810. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1811. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\service nginx stop[?1l>[?2004l
  1812.  
  1813. service nginx stop]1;service\[1;31m==== AUTHENTICATING FOR org.freedesktop.systemd1.manage-units ===
  1814. [0mAuthentication is required to stop 'nginx.service'.
  1815. Authenticating as: Ubuntu (ubuntu)
  1816. ]\\Password:
  1817. polkit-agent-helper-1: pam_authenticate failed: Authentication failure
  1818. [1;31m==== AUTHENTICATION FAILED ===
  1819. [0mFailed to stop nginx.service: Access denied
  1820. See system logs and 'systemctl status nginx.service' for details.
  1821. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1822.  
  1823. ubuntu@ip-172-31-]\]16-146: /opt/letsencrypt]1;..t/letsencrypt\
  1824. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\cclear[?1l>[?2004l
  1825.  
  1826. clear]1;clear\[3;J[H[2J\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1827.  
  1828. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1829. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\clearservice nginx stop[18Dclear             [13D\service nginx start[19Dsudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com\[1C\[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\n -d freelensia.com[18D\g -d freelensia.com[18D\i -d freelensia.com[18D\n -d freelensia.com[18D\[P[18C [19D\[P[18C [19D\ĩ -d freelensia.com[18Dn -d freelensia.com[18D\[?1l>[?2004l
  1830.  
  1831. sudo -H ./letsencrypt-auto certonly --ngĩn -d freelensia.com]1;./letsencrypt-auto\usage:
  1832.  letsencrypt-auto [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
  1833.  
  1834. Certbot can obtain and install HTTPS/TLS/SSL certificates.  By default,
  1835. it will attempt to use a webserver both for obtaining and installing the
  1836. certificate.
  1837. certbot: error: unrecognized arguments: --ngĩn
  1838. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1839.  
  1840. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1841. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m ]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\[K[?1h=[?2004h\sudo -H ./letsencrypt-auto certonly --ngĩn -d freelensia.com[P[18C [19D\[P[18C [19D\i -d freelensia.com[18D\n -d freelensia.com[18D\x -d freelensia.com[18D\[?1l>[?2004l
  1842.  
  1843. sudo -H ./letsencrypt-auto certonly --nginx -d freelensia.com]1;./letsencrypt-auto\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1844. [31mError while running nginx -c /etc/nginx/nginx.conf -t.
  1845.  
  1846. nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/freelensia.com/fullchain.pem','r') error:2006D080:BIO routines:BIO_new_file:no such file)
  1847. nginx: configuration file /etc/nginx/nginx.conf test failed
  1848. [0m
  1849. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\Could not choose appropriate plugin: The nginx plugin is not working; there may be problems with your existing configuration.
  1850. The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(\'/etc/letsencrypt/live/freelensia.com/fullchain.pem\',\'r\') error:2006D080:BIO routines:BIO_new_file:no such file)\nnginx: configuration file /etc/nginx/nginx.conf test failed\n',)
  1851. The nginx plugin is not working; there may be problems with your existing configuration.
  1852. The error was: MisconfigurationError('Error while running nginx -c /etc/nginx/nginx.conf -t.\n\nnginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen(\'/etc/letsencrypt/live/freelensia.com/fullchain.pem\',\'r\') error:2006D080:BIO routines:BIO_new_file:no such file)\nnginx: configuration file /etc/nginx/nginx.conf test failed\n',)
  1853. [1m[7m%[27m[1m[0m                          ]                                                                                                                                                                                                                    
  1854.  
  1855. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt\
  1856. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo -H ./letsencrypt-auto certonly --nginx -d freelensia.com[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\[P[18C [19D\m -d freelensia.com[18D\a -d freelensia.com[18D\n -d freelensia.com[18D\u -d freelensia.com[18D\a -d freelensia.com[18D\l -d freelensia.com[18D\[?1l>[?2004l
  1857.  
  1858. sudo -H ./letsencrypt-auto certonly --manual -d freelensia.com]1;./letsencrypt-auto\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1859. Plugins selected: Authenticator manual, Installer None
  1860. Obtaining a new certificate
  1861. Performing the following challenges:
  1862. http-01 challenge for freelensia.com
  1863.  
  1864. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1865. NOTE: The IP of this machine will be publicly logged as having requested this
  1866. certificate. If you're running certbot in manual mode on a machine that is not
  1867. your server, please ensure you're okay with that.
  1868.  
  1869. Are you OK with your IP being logged?
  1870. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1871. (Y)es/(N)o: Y
  1872.  
  1873. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1874. Create a file containing just this data:
  1875.  
  1876. Ea7QcUO2XlfuIQwj2k5O8buZkervd-ZM3L2j0ptUnaI.f3b3H6kHEGpUO1cKsChLtn8v18A-g__KeNWQGw-K-_8
  1877.  
  1878. And make it available on your web server at this URL:
  1879.  
  1880. http://freelensia.com/.well-known/acme-challenge/Ea7QcUO2XlfuIQwj2k5O8buZkervd-ZM3L2j0ptUnaI
  1881.  
  1882. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  1883. Press Enter to Continue
  1884. Waiting for verification...
  1885. Cleaning up challenges
  1886. Failed authorization procedure. freelensia.com (http-01): urn:ietf:params:acme:error:unauthorized :: The client lacks sufficient authorization :: Invalid response from http://freelensia.com/.well-known/acme-challenge/Ea7QcUO2XlfuIQwj2k5O8buZkervd-ZM3L2j0ptUnaI: "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n\n  <meta charset=\"utf-8\">\n    <title>Freelensia - page not found</title>\n    <link href="
  1887. [1m
  1888. IMPORTANT NOTES:
  1889. [0m - The following errors were reported by the server:
  1890.  
  1891. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\   Domain: freelensia.com
  1892.   Type:   unauthorized
  1893.   Detail: Invalid response from
  1894.   http://freelensia.com/.well-known/acme-challenge/Ea7QcUO2XlfuIQwj2k5O8buZkervd-ZM3L2j0ptUnaI:
  1895.   "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n\n  <meta
  1896.   charset=\"utf-8\">\n    <title>Freelensia - page not
  1897.   found</title>\n    <link href="
  1898.  
  1899.   To fix these errors, please make sure that your domain name was
  1900.   entered correctly and the DNS A/AAAA record(s) for that domain
  1901.   contain(s) the right IP address.
  1902. [1m[7m%[27m[1m[0m    ]                                                                                                                                                                                                                                          
  1903.  
  1904. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt\
  1905. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\cat /etc/nginx/.htpasswd[?1l>[?2004l
  1906.  
  1907. cat /etc/nginx/.htpasswd]1;catcat: \/etc/nginx/.htpasswd: No such file or directory
  1908. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1909.  
  1910. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1911. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m ]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\[K[?1h=[?2004h\cat /etc/nginx/.htpasswd[24Dsudo -H ./letsencrypt-auto certonly --manual -d freelensia.com\[24Dnginx[P[18C \[21Dĩn[P[18C \[60Dclear                                                       [55D\service nginx stopsservice nginx stop[18D\suservice nginx stop[18D\dservice nginx stop[18D\oservice nginx stop[18D\ service nginx stop[18D\[?1l>[?2004l
  1912.  
  1913. sudo service nginx stop]1;service\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1914.  
  1915. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1916. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo service nginx stop[23Dcat /etc/nginx/.htpasswd\[24Dsudo -H ./letsencrypt-auto certonly --manual -d freelensia.com\[24Dnginx[P[18C \[21Dĩn[P[18C \[60Dclear                                                       [55D\service nginx stop[18Dclear             [13D\service nginx start[19Dsudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com\[?1l>[?2004l
  1917.  
  1918. sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com]1;./letsencrypt-auto\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  1919. Plugins selected: Authenticator standalone, Installer None
  1920. Obtaining a new certificate
  1921. Performing the following challenges:
  1922. http-01 challenge for freelensia.com
  1923. Cleaning up challenges
  1924. Problem binding to port 80: Could not bind to IPv4 or IPv6.
  1925. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1926.  
  1927. ubuntu@ip-172-31-16-146: /opt/letsencrypt]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]1;..t/letsencrypt\
  1928. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m ]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\[K[?1h=[?2004h\sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com[61Dservice nginx stop                                           [43D\  att us[?1l>[?2004l
  1929.  
  1930. sudo service nginx status]1;service\[?1h=
  1931. \[0;1;31m●[0m nginx.service - nginx - high performance web server[m
  1932.   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)[m]\\
  1933.   Active: [0;1;31mfailed[0m (Result: exit-code) since Tue 2018-11-06 08:47:05 +07; 2 months 8 days ago[m
  1934.     Docs: http://nginx.org/en/docs/[m
  1935. [m
  1936. Jan 14 09:39:22 ip-172-31-16-146 systemd[1]: [0;1;39mnginx.service: Unit cannot be reloaded because it is inactive.[0m[m
  1937. Jan 14 10:17:19 ip-172-31-16-146 systemd[1]: Stopped nginx - high performance web server.[m
  1938. ]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.[m
  1939.  
  1940. [K[?1l>\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1941.  
  1942. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1943. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo service nginx status[20D-H ./letsencrypt-auto certonly --standalone -d freelensia.com\[61Dservice nginx stop                                           [43D\  art[?1l>[?2004l
  1944.  
  1945. sudo service nginx start]1;service\Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
  1946. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1947.  
  1948. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1949. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\systemctl status nginx.service[?1l>\[?2004l
  1950.  
  1951. systemctl status nginx.service]1;systemctl\[?1h=
  1952. [0;1;31m●[0m nginx.service - nginx - high performance web server[m
  1953.   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)[m
  1954.   Active: [0;1;31mfailed[0m (Result: exit-code) since Mon 2019-01-14 10:17:49 +07; 10s ago[m
  1955.     Docs: http://nginx.org/en/docs/[m]\]\\
  1956.  Process: 12958 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf [0;1;31m(code=exited, status=1/FAILURE)[0m[m
  1957. [m
  1958. Jan 14 10:17:49 ip-172-31-16-146 systemd[1]: Starting nginx - high performance web server...[m
  1959. Jan 14 10:17:49 ip-172-31-16-146 nginx[12958]: nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/freelen[m
  1960. Jan 14 10:17:49 ip-172-31-16-146 nginx[1]\\2958]: nginx: configuration file /etc/nginx/nginx.conf test failed[m
  1961. Jan 14 10:17:49 ip-172-31-16-146 systemd[1]: [0;1;39mnginx.service: Control process exited, code=exited status=1[0m[m
  1962. Jan 14 10:17:49 ip-172-31-16-146 systemd[1]: [0;1;31mFailed to start nginx - high performance web server.[0m[m
  1963. Jan 14 10:17:49 ip-172-31-16-146 systemd[1]: [0;1;39mnginx.service: Unit entered failed state.[0m[m
  1964. Jan 14 10:17:49 ip-172-31-16-146 systemd[1]: [0;1;39mnginx.service: Failed with result 'exit-code'.]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\[0m[m
  1965. [7mlines 1-13/13 (END)[27m[K]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\\
  1966. [K
  1967. [K[7mlines 1-13/13 (END)[27m[K]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\\
  1968. [K[?1l>[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1969.  
  1970. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1971. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\systemctl status nginx.service[30Dsudo service nginx start      \     restart[?1l>[?2004l
  1972.  
  1973. sudo service nginx restart]1;service\Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
  1974. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1975.  
  1976. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1977. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\grep -r nginx /etc/init[?1l>[?2004l
  1978.  
  1979. grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} -r nginx /etc/init]1;grep\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1980.  
  1981. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1982. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\ssudo service stop nginx[?1l>[?2004l
  1983.  
  1984. sudo service stop nginx]1;service\stop: unrecognized service
  1985. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1986.  
  1987. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1988. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo service stop nginx[23D                       [23D\ps -ef |grep nginx[?1l>[?2004l
  1989.  
  1990. ps -ef | grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} nginx]1;ps\root      1347     1  0  2018 ?        00:00:00 [01;31m[Knginx[m[K: master process /usr/sbin/[01;31m[Knginx[m[K -c /etc/[01;31m[Knginx[m[K/[01;31m[Knginx[m[K.conf
  1991. [01;31m[Knginx[m[K     1348  1347  0  2018 ?        00:19:09 [01;31m[Knginx[m[K: worker process
  1992. ubuntu   13054  3616  0 10:19 pts/0    00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn [01;31m[Knginx[m[K
  1993. ]\]\]\]\]\]\]\\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  1994.  
  1995. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  1996. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\ps -ef |grep nginx[18Dsudo service stop nginx\[23Dgrep -r nginx /etc/init\[23Dsudo service nginx restart\      s  status[?1l>[?2004l
  1997.  
  1998. sudo service nginx status]1;service\[?1h=
  1999. [0;1;31m●[0m nginx.service - nginx - high performance web server[m
  2000.    Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)[m
  2001.    Active: [0;1;31mfailed[0m (Result: exit-code) since Mon 2019-01-14 10:18:30 +07; 1min 28s ago[m
  2002.      Docs: http://nginx.org/en/docs/[m
  2003. ]\]\\  Process: 12998 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf [0;1;31m(code=exited, status=1/FAILURE)[0m[m
  2004. [m
  2005. Jan 14 10:18:30 ip-172-31-16-146 systemd[1]: Starting nginx - high performance web server...[m
  2006. Jan 14 10:18:30 ip-172-31-16-146 nginx[12998]: nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/freelen[m
  2007. Jan 14 10:18:30 ip-172-31-16-146 nginx[129]\\98]: nginx: configuration file /etc/nginx/nginx.conf test failed[m
  2008. Jan 14 10:18:30 ip-172-31-16-146 systemd[1]: [0;1;39mnginx.service: Control process exited, code=exited status=1[0m[m
  2009. Jan 14 10:18:30 ip-172-31-16-146 systemd[1]: [0;1;31mFailed to start nginx - high performance web server.[0m[m
  2010. Jan 14 10:18:30 ip-172-31-16-146 systemd[1]: [0;1;39mnginx.service: Unit entered failed state.[0m[m
  2011. Jan 14 10:18:30 ip-172-31-16-146 systemd[1]: [0;1;39mnginx.service: Failed with result 'exit-code'.[]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\0m[m
  2012. [7mlines 1-13/13 (END)[27m[K]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\\
  2013. [K[?1l>[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2014.  
  2015. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2016. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\kkill 1348[?1l>[?2004l
  2017.  
  2018. kill 1348]1;kill\kill: kill 1348 failed: operation not permitted
  2019. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2020.  
  2021. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2022. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\ssudo kill 1348[?1l>[?2004l
  2023.  
  2024. sudo kill 1348]1;kill\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2025.  
  2026. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2027. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo kill 1348[14D[5P[9C     \[9Dsudo service nginx status\[?1l>[?2004l
  2028.  
  2029. sudo service nginx status]1;service\[?1h=
  2030. [0;1;31m●[0m nginx.service - nginx - high performance web server[m
  2031.   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)[m]\\
  2032.   Active: [0;1;31mfailed[0m (Result: exit-code) since Mon 2019-01-14 10:18:30 +07; 2min 8s ago[m
  2033.     Docs: http://nginx.org/en/docs/[m
  2034.  Process: 12998 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf [0;1;31m(code=exited, status=1/FAILURE)[0m[m
  2035. [m
  2036. Jan 14 10:18:30 ip-172-31-16-146 systemd[1]: Starting nginx - high performance web server...[m
  2037. Jan 14 10:18:30 ip-172-31-16-146 nginx[12998]: nginx: [emerg] BIO_new_file("/etc/letsencrypt/live/freelensia.com/fullchain.pem") failed (SSL: ]\]\\error:02001002:system library:fopen:No such file or directory:fopen('/etc/letsencrypt/live/freelen[m
  2038. Jan 14 10:18:30 ip-172-31-16-146 nginx[12998]: nginx: configuration file /etc/nginx/nginx.conf test failed[m
  2039. Jan 14 10:18:30 ip-172-31-16-146 systemd[1]: [0;1;39mnginx.service: Control process exited, code=exited status=1[0m[m
  2040. Jan 14 10:18:30 ip-172-31-16-146 systemd[1]: [0;1;31mFailed to start nginx - high performance web server.[0m[m
  2041. Jan 14 10:18:30 ip-172-31-16-146 systemd[1]: [0;1;39mnginx.s]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\ervice: Unit entered failed state.[0m[m
  2042. Jan 14 10:18:30 ip-172-31-16-146 systemd[1]: [0;1;39mnginx.service: Failed with result 'exit-code'.[0m[m
  2043. [7mlines 1-13/13 (END)[27m[K]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\\
  2044. [K[?1l>\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2045.  
  2046. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2047. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo service nginx status[20Dkill 1348           [11D\[14D[5P[9C     \[9Dsudo service nginx status\[25Dps -ef |grep[7C      \[18Dsudo service stop nginx\[23Dgrep -r nginx /etc/init\[23Dsudo service nginx restart\[26Dsystemctl status nginx.service\[30Dsudo service nginx start      \tus[20D-H ./letsencrypt-auto certonly --standalone -d freelensia.com\[?1l>[?2004l
  2048.  
  2049. sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com]1;./letsencrypt-auto\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2050. Plugins selected: Authenticator standalone, Installer None
  2051. Obtaining a new certificate
  2052. Performing the following challenges:
  2053. http-01 challenge for freelensia.com
  2054. Cleaning up challenges
  2055. Problem binding to port 80: Could not bind to IPv4 or IPv6.
  2056. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2057.  
  2058. ubuntu@ip-172-31-16-146: /opt/letsencrypt]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]1;..t/letsencrypt\
  2059. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m ]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\[K[?1h=[?2004h\sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com[61Dservice nginx status                                         [41D\[20Dkill 1348           [11D\[14D[5P[9C     \[9Dsudo service nginx status\[25Dps -ef |grep[7C      \[?1l>[?2004l
  2060.  
  2061. ps -ef | grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} nginx]1;ps\root      1347     1  0  2018 ?        00:00:00 [01;31m[Knginx[m[K: master process /usr/sbin/[01;31m[Knginx[m[K -c /etc/[01;31m[Knginx[m[K/[01;31m[Knginx[m[K.conf
  2062. [01;31m[Knginx[m[K    13239  1347  0 10:20 ?        00:00:00 [01;31m[Knginx[m[K: worker process
  2063. ubuntu   13308  3616  0 10:20 pts/0    00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn [01;31m[Knginx[m[K
  2064. ]\]\]\]\]\]\]\\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2065.  
  2066. ]ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt\
  2067. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\ps -ef |grep nginx[18Dsudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com\[61Dservice nginx status                                         [41D\[20Dkill 1348           [11D\    13239[?1l>[?2004l
  2068.  
  2069. sudo kill 13239]1;kill\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2070.  
  2071. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2072. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo kill 13239[15Dps -ef |grep nginx\[18Dsudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com\[?1l>[?2004l
  2073.  
  2074. sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com]1;./letsencrypt-auto\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2075. Plugins selected: Authenticator standalone, Installer None
  2076. Obtaining a new certificate
  2077. Performing the following challenges:
  2078. http-01 challenge for freelensia.com
  2079. Cleaning up challenges
  2080. Problem binding to port 80: Could not bind to IPv4 or IPv6.
  2081. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2082.  
  2083. ubuntu@ip-172-31-16-146: /opt/letsencrypt]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]1;..t/letsencrypt
  2084. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com[61Dkill 13239                                                   [51D\[?1l>[?2004l
  2085.  
  2086. sudo kill 13239]1;kill\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2087.  
  2088. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2089. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m ]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\[K[?1h=[?2004h\sudo kill 13239[10D-H ./letsencrypt-auto certonly --standalone -d freelensia.com\[61Dkill 13239                                                   [51D\[15Dps -ef |grep nginx\[?1l>[?2004l
  2090.  
  2091. ps -ef | grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} nginx]1;ps\root      1347     1  0  2018 ?        00:00:00 [01;31m[Knginx[m[K: master process /usr/sbin/[01;31m[Knginx[m[K -c /etc/[01;31m[Knginx[m[K/[01;31m[Knginx[m[K.conf
  2092. [01;31m[Knginx[m[K    13331  1347  0 10:21 ?        00:00:00 [01;31m[Knginx[m[K: worker process]\]\]\]\]\]\\
  2093. ubuntu   13398  3616  0 10:21 pts/0    00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn [01;31m[Knginx[m[K]\\
  2094. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2095.  
  2096. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt
  2097. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\ps -ef |grep nginx[18Dsudo kill 13239   \[10D-H ./letsencrypt-auto certonly --standalone -d freelensia.com\[61Dkill 13239                                                   [51D\[15Dps -ef |grep nginx\[18Dsudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com\[61Dservice nginx status                                         [41D\      restart[?1l>[?2004l
  2098.  
  2099. sudo service nginx restart]1;service\Job for nginx.service failed because the control process exited with error code. See "systemctl status nginx.service" and "journalctl -xe" for details.
  2100. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2101.  
  2102. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2103. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\ps -ef |grep nginx[?1l>[?2004l
  2104.  
  2105. ps -ef | grep --color=auto --exclude-dir={.bzr,CVS,.git,.hg,.svn} nginx]1;ps\root      1347     1  0  2018 ?        00:00:00 [01;31m[Knginx[m[K: master process /usr/sbin/[01;31m[Knginx[m[K -c /etc/[01;31m[Knginx[m[K/[01;31m[Knginx[m[K.conf
  2106. [01;31m[Knginx[m[K    13331  1347  0 10:21 ?        00:00:00 [01;31m[Knginx[m[K: worker process]\]\]\]\]\]\\
  2107. ubuntu   13435  3616  0 10:22 pts/0    00:00:00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn [01;31m[Knginx[m[K
  2108. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2109.  
  2110. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencry]\]pt\
  2111. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\[K[?1h=[?2004h\sudo fuser -k 80/tcp[?1l>[?2004l
  2112.  
  2113. sudo fuser -k 80/tcp]1;fuser\80/tcp:               1347 13331
  2114. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2115.  
  2116. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2117. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo fuser -k 80/tcp[20Dps -ef |grep nginx  \[18Dsudo service[6C restart\[26Dps -ef |grep[7C       [8D\[18Dsudo kill 13239   \[10D-H ./letsencrypt-auto certonly --standalone -d freelensia.com\[?1l>[?2004l
  2118.  
  2119. sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com]1;./letsencrypt-auto\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2120. Plugins selected: Authenticator standalone, Installer None
  2121. Obtaining a new certificate
  2122. Performing the following challenges:
  2123. http-01 challenge for freelensia.com
  2124. Waiting for verification...
  2125. Cleaning up challenges
  2126. [1m
  2127. IMPORTANT NOTES:
  2128. [0m - Congratulations! Your certificate and chain have been saved at:
  2129.    /etc/letsencrypt/live/freelensia.com/fullchain.pem
  2130.    Your key file has been saved at:
  2131. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\   /etc/letsencrypt/live/freelensia.com/privkey.pem
  2132.    Your cert will expire on 2019-04-14. To obtain a new or tweaked
  2133.    version of this certificate in the future, simply run
  2134.    letsencrypt-auto again. To non-interactively renew *all* of your
  2135.    certificates, run "letsencrypt-auto renew"
  2136.  - If you like Certbot, please consider supporting our work by:
  2137.  
  2138.    Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
  2139.   Donating to EFF:                    https://eff.org/donate-le
  2140.  
  2141. [1m[7m%[27m[1m[0m                                        ]                                                                                                                                                                                                      
  2142.  
  2143. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt\
  2144. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\[K[?1h=[?2004h\sudo -H ./letsencrypt-auto certonly --standalone -d freelensia.com[61Dfuser -k 80/tcp                                              [46D\[20Dps -ef |grep nginx  \[18Dsudo service[6C restart\[26Dps -ef |grep[7C       [8D\[18Dsudo service[6C restart\[26Dps -ef |grep[7C       [8D\[18Dsudo fuser -k 80/tcp\[15D-H ./letsencrypt-auto certonly --standalone -d freelensia.com\[66D                                                                  [66D\sudo ls /etc/letsencrypt/live[?1l>[?2004l
  2145.  
  2146. sudo ls /etc/letsencrypt/live]1;ls\freelensia.com   README
  2147. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2148.  
  2149. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt
  2150. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\./certbot-auto certificates[?1l>[?2004l
  2151.  
  2152. ./certbot-auto certificates]1;./certbot-auto\Requesting to rerun ./certbot-auto with root privileges...
  2153. Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2154.  
  2155. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  2156. Found the following certs:
  2157.  Certificate Name: freelensia.com
  2158.    Domains: freelensia.com
  2159.    Expiry Date: 2019-04-14 02:22:23+00:00 (VALID: 89 days)
  2160.    Certificate Path: /etc/letsencrypt/live/freelensia.com/fullchain.pem
  2161.    Private Key Path: /etc/letsencrypt/live/freelensia.com/privkey.pem
  2162. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  2163. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2164.  
  2165. ubuntu@ip-172-3]1-16-146: /opt/letsencrypt]1;..t/letsencrypt\
  2166. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo -H ./letsencrypt-auto certonly --standalone --renew-by-default -d example.com.com .com .com .com .com .com .com .com  .comf.comr.come.come.coml.come.comn.coms.comi.coma.com[?1l>[?2004l
  2167.  
  2168. sudo -H ./letsencrypt-auto certonly --standalone --renew-by-default -d ]1;./letsencrypt-auto\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2169. Plugins selected: Authenticator standalone, Installer None
  2170. Renewing an existing certificate
  2171. Performing the following challenges:
  2172. http-01 challenge for freelensia.com
  2173. Waiting for verification...
  2174. Cleaning up challenges
  2175. [1m
  2176. IMPORTANT NOTES:
  2177. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\[0m - Congratulations! Your certificate and chain have been saved at:
  2178.   /etc/letsencrypt/live/freelensia.com/fullchain.pem
  2179.   Your key file has been saved at:
  2180.   /etc/letsencrypt/live/freelensia.com/privkey.pem
  2181. \   Your cert will expire on 2019-04-14. To obtain a new or tweaked
  2182.   version of this certificate in the future, simply run
  2183.   letsencrypt-auto again. To non-interactively renew *all* of your
  2184.   certificates, run "letsencrypt-auto renew"
  2185. - If you like Certbot, please consider supporting our work by:
  2186.  
  2187.   Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
  2188.    Donating to EFF:                    https://eff.org/donate-le
  2189.  
  2190. [1m[7m%[27m[1m[0m                                          ]                                                                                                                                                                                                    
  2191.  
  2192. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt\
  2193. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\./letsencrypt-auto renew[?1l>[?2004l
  2194.  
  2195. ./letsencrypt-auto renew]1;./letsencrypt-autoRequesting to rerun ./letsencrypt-auto with root privileges...
  2196. \Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2197.  
  2198. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  2199. Processing /etc/letsencrypt/renewal/freelensia.com.conf
  2200. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  2201. Cert not yet due for renewal
  2202.  
  2203. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  2204.  
  2205. The following certs are not due for renewal yet:
  2206.   /etc/letsencrypt/live/freelensia.com/fullchain.pem expires on 2019-04-14 (skipped)
  2207. No renewals were attempted.
  2208. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  2209. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2210.  
  2211. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2212. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo crontab -e[?1l>[?2004l
  2213.  
  2214. sudo crontab -e]1;crontab\no crontab for root - using an empty one
  2215. [?1049h[?1h=[2;1H▽[6n[2;1H  [1;1H]11;?\[1;57r[?12;25h[?12l[?25h[27m[23m[m[H[2J[?25l[57;1H"/tmp/crontab.r7yK1M/crontab" 22L, 888C[>c[1;1H[34m# Edit this file to introduce tasks to be run by cron.
  2216. #
  2217. # Each task to run has to be defined through a single line
  2218. # indicating with different fields when the task will be run
  2219. # and what command to run for the task
  2220. #
  2221. # To define the time you can provide concrete values for
  2222. # minute (m), hour (h), day of month (dom), month (mon),
  2223. # and day of week (dow) or use '*' in these fields (for]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x01)"\ 'any').#
  2224. # Notice that tasks will be started based on the cron's system
  2225. # daemon's notion of time and timezones.
  2226. #
  2227. # Output of the crontab jobs (including errors) is sent through
  2228. # email to the user the crontab file belongs to (unless redirected).
  2229. #
  2230. # For example, you can run a backup of all your user accounts
  2231. # at 5 a.m every week with:
  2232. # 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
  2233. #
  2234. # For more information see the manual pages of crontab(5) and cron(8)
  2235. #
  2236. # m h  dom mon dow   command[m
  2237. [94m~                                                                                                                                                                                                                                               [24;1H~                                                                                                                                                                                                                                               [25;1H~        ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\                                                                                                                                                                                                                                       [26;1H~                                                                                                                                                                                                                                               [27;1H~                          ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\                                                                                                                                                                                                                     [28;1H~                                                                                                                                                                                                                                               [29;1H~                                            ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\                                                                                                                                                                                                   [30;1H~                                                                                                                                                                                                                                               [31;1H~                                                              ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\                                                                                                                                                                                 [32;1H~                                                                                                                                                                                                                                               [33;1H~                                                                                ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\                                                                                                                                                               [34;1H~                                                                                                                                                                                                                                               [35;1H~                                                                                                  ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\                                                                                                                                             [36;1H~                                                                                                                                                                                                                                               [37;1H~                                                                                                                    ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\                                                                                                                           [38;1H~                                                                                                                                                                                                                                               [39;1H~                                                                                                                                      ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\                                                                                                         [40;1H~                                                                                                                                                                                                                                               [41;1H~                                                                                                                                                        ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\                                                                                       [42;1H~                                                                                                                                                                                                                                               [43;1H~                                                                                                                                                                          ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\                                                                     [44;1H~                                                                                                                                                                                                                                               [45;1H~                                                                                                                                                                                            ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\                                                   [46;1H~                                                                                                                                                                                                                                               [47;1H~                                                                                                                                                                                                              ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\                                 [48;1H~                                                                                                                                                                                                                                               [49;1H~                                                                                                                                                                                                                                ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\               [50;1H~                                                                                                                                                                                                                                               [51;1H~                                                                                                                                                                                                                                               [5]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\2;1H~                                                                                                                                                                                                                                               [53;1H~                                                                                                                                                                                                                                               [54;1H~             ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\                                                                                                                                                                                                                                  [55;1H~                                                                                                                                                                                                                                               [56;1H~                               ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x09)"\                                                                                                                                                                                                                [m[57;223H1,1[11CAll[1;1H[?12l[?25h\[?25l[57;223H2[2;1H[?12l[?25h\[?25l[57;223H3[3;1H[?12l[?25h\[?25l[57;223H4[4;1H[?12l[?25h\[?25l[57;223H5[5;1H[?12l[?25h\[?25l[57;223H6[6;1H[?12l[?25h\[?25l[57;223H7[7;1H[?12l[?25h\[?25l[57;223H8[8;1H[?12l[?25h\[?25l[57;223H9[9;1H[?12l[?25h\[?25l[57;223H10,1[10;1H[?12l[?25h\[?25l[57;224H1[11;1H[?12l[?25h\[?25l[57;224H2[12;1H[?12l[?25h\[?25l[57;224H3[13;1H[?12l[?25h\[?25l[57;224H4[14;1H[?12l[?25h\[?25l[57;224H5[15;1H[?12l[?25h\[?25l[57;224H6[16;1H[?12l[?25h\[?25l[57;224H7[17;1H[?12l[?25h\[?25l[57;224H8[18;1H[?12l[?25h\[?25l[57;224H9[19;1H[?12l[?25h\[?25l[57;223H20[20;1H[?12l[?25h\[?25l[57;224H1[21;1H[?12l[?25h\[?25l[57;224H2[22;1H[?12l[?25h\[?25l[57;226H2[22;2H[?12l[?25h\[?25l[57;226H3[22;3H[?12l[?25h\[?25l[57;226H4[22;4H[?12l[?25h\[?25l[57;226H5[22;5H[?12l[?25h\[?25l[57;226H6[22;6H[?12l[?25h\[?25l[57;226H7[22;7H[?12l[?25h\[?25l[57;226H8[22;8H[?12l[?25h\[?25l[57;226H9[22;9H[?12l[?25h\[?25l[57;226H10[22;10H[?12l[?25h\[?25l[57;227H1[22;11H[?12l[?25h\[?25l[57;227H2[22;12H[?12l[?25h\[?25l[57;227H3[22;13H[?12l[?25h\[?25l[57;227H4[22;14H[?12l[?25h\[?25l[57;227H5[22;15H[?12l[?25h\[?25l[57;227H6[22;16H[?12l[?25h\[?25l[57;227H7[22;17H[?12l[?25h\[?25l[57;227H8[22;18H[?12l[?25h\[?25l[57;227H9[22;19H[?12l[?25h\[?25l[57;226H20[22;20H[?12l[?25h\[?25l[57;227H1[22;21H[?12l[?25h\[?25l[57;227H2[22;22H[?12l[?25h\[?25l[57;227H3[22;23H[?12l[?25h\[?25l[57;227H4[22;24H[?12l[?25h\[?25l[57;227H5[22;25H[?12l[?25h\[?25l[57;227H6[22;26H[?12l[?25h\[?25l[57;227H7[22;27H[?12l[?25h\[?25l[57;227H8[22;28H[?12l[?25h\[?25l[57;226H1 [22;1H[?12l[?25h[?25l[57;226H2[22;2H[?12l[?25h[?25l[57;226H1[22;1H[?12l[?25h[?25l[57;226H2[22;2H[?12l[?25h[?25l[57;226H3[22;3H[?12l[?25h[?25l[57;1H/\<m\>[57;7H[K[57;1H[31msearch hit BOTTOM, continuing at TOP[m[186C8,11[10CAll[57;223H[K[57;223H8,11[10CAll[8;11H[?12l[?25h[?25l[34m[106m([1C)[m[57;226H2[8;12H[?12l[?25h[?25l[57;1H/\<hour\>[57;10H[K[57;1H[31msearch hit BOTTOM, continuing at TOP[m[8;10H[34m(m)[m[57;223H8,15[10CAll[57;22]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0xB1)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0xB1)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x01)"\\3H[K[57;223H8,15[10CAll[8;15H[?12l[?25h[?25l[57;226H6[8;16H[?12l[?25h[?25l[57;1H[K[57;1H/opt/l[?12l[?25hetsencryp\[?25l[?12l[?25ht/letse[?25l[?12l[?25hncrypt-auto rene[?25l[?12l[?25hw[?25l[?12l[?25h\[?25l[57;1H[K[57;223H8,16[10CAll[8;16H[?12l[?25h\[?25l[57;223H[K[57;1H:[?12l[?25h\w[?25l[?12l[?25h\q[?25l[?12l[?25h\
  2238. [?25l"crontab.r7yK1M/crontab" 22L, 888C written\
  2239.  
  2240.  
  2241. [?1l>[?12l[?25h[?1049l\crontab: installing new crontab
  2242. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2243.  
  2244. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt
  2245. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo crontab -e[15D./letsencrypt-auto renew\[24Dsudo -H ./letsencrypt-auto certonly --standalone --renew-by-default -d freelensia.com\[85D./certbo[12P[11Cificates                                                          [58D\[27Dsudo ls /etc/letsencrypt/live\[24D-H .[3P[12C-auto certonly --standalone -d freelensia.com\[61Dfuser -k 80/tcp                                              [46D\[20Dps -ef |grep nginx  \[18Dsudo service[6C restart\[?1l>[?2004l
  2246.  
  2247. sudo service nginx restart]1;service\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2248.  
  2249. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2250. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo service nginx restart[21Dcrontab -e           [11D\[15D./letsencrypt-auto renew\[24Dsudo -H ./letsencrypt-auto certonly --standalone --renew-by-default -d freelensia.com\[85D./certbo[12P[11Cificates                                                          [58D\[27Dsudo ls /etc/letsencrypt/live\[24D-H .[3P[12C-auto certonly --standalone -d freelensia.com\wfreelensia.com[14D\wfreelensia.com[14D\wfreelensia.com[14D\.freelensia.com[14D\[?1l>[?2004l
  2251.  
  2252. sudo -H ./letsencrypt-auto certonly --standalone -d www.freelensia.com]1;./letsencrypt-auto\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2253. Plugins selected: Authenticator standalone, Installer None
  2254. Obtaining a new certificate
  2255. Performing the following challenges:
  2256. http-01 challenge for www.freelensia.com
  2257. Cleaning up challenges
  2258. Problem binding to port 80: Could not bind to IPv4 or IPv6.
  2259. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2260.  
  2261. ubuntu@ip-172-31-16-146: /opt/letsencrypt]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]1;..t/letsencrypt\
  2262. [0m[27m[24m[J[01;31m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo -H ./letsencrypt-auto certonly --standalone -d www.freelensia.com[65Dservice nginx restart                                            [44D\[21Dcrontab -e           [11D\[10Dservice nginx restart\[21Dcrontab -e           [11D\[15D./letsencrypt-auto renew\[24Dsudo -H ./letsencrypt-auto certonly --standalone --renew-by-default -d freelensia.com\[85D./certbo[12P[11Cificates                                                          [58D\[27Dsudo ls /etc/letsencrypt/live\[24D-H .[3P[12C-auto certonly --standalone -d freelensia.com\[61Dfuser -k 80/tcp                                              [46D\[?1l>[?2004l
  2263.  
  2264. \sudo fuser -k 80/tcp]1;fuser\80/tcp:              13727 13731
  2265. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2266.  
  2267. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2268. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo fuser -k 80/tcp[15D-H ./letsencrypt-auto certonly --standalone -d www.freelensia.com\[?1l>[?2004l
  2269.  
  2270. sudo -H ./letsencrypt-auto certonly --standalone -d www.freelensia.com]1;./letsencrypt-auto\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2271. Plugins selected: Authenticator standalone, Installer None
  2272. Obtaining a new certificate
  2273. Performing the following challenges:
  2274. http-01 challenge for www.freelensia.com
  2275. Waiting for verification...
  2276. Cleaning up challenges
  2277. [1m
  2278. IMPORTANT NOTES:
  2279. [0m - Congratulations! Your certificate and chain have been saved at:
  2280.    /etc/letsencrypt/live/www.freelensia.com/fullchain.pem
  2281.    Your key file has been saved at:
  2282. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\   /etc/letsencrypt/live/www.freelensia.com/privkey.pem
  2283.    Your cert will expire on 2019-04-14. To obtain a new or tweaked
  2284.    version of this certificate in the future, simply run
  2285.    letsencrypt-auto again. To non-interactively renew *all* of your
  2286.    certificates, run "letsencrypt-auto renew"
  2287.  - If you like Certbot, please consider supporting our work by:
  2288.  
  2289.    Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
  2290.   Donating to EFF:                    https://eff.org/donate-le
  2291.  
  2292. [1m[7]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\m%[27m[1m[0m                                                                                                                                                                                                                                              
  2293.  
  2294. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2295. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\sudo -H ./letsencrypt-auto certonly --standalone -d www.freelensia.com[65Dfuser -k 80/tcp                                                  [50D\[15D-H ./letsencrypt-auto certonly --standalone -d www.freelensia.com\[65Dservice nginx restart                                            [44D\[?1l>[?2004l
  2296.  
  2297. sudo service nginx restart]1;service\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2298.  
  2299. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2300. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\cclear[?1l>[?2004l
  2301.  
  2302. clear]1;clear[3;J[H[2J[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2303.  
  2304. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2305. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\./certbot-auto certificates[?1l>[?2004l
  2306. \
  2307. ./certbot-auto certificates]1;./certbot-auto\Requesting to rerun ./certbot-auto with root privileges...
  2308. Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2309.  
  2310. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  2311. Found the following certs:
  2312.  Certificate Name: www.freelensia.com
  2313.    Domains: www.freelensia.com
  2314.    Expiry Date: 2019-04-14 02:25:53+00:00 (VALID: 89 days)
  2315.    Certificate Path: /etc/letsencrypt/live/www.freelensia.com/fullchain.pem
  2316.    Private Key Path: /etc/letsencrypt/live/www.freelensia.com/privkey.pem
  2317.  Certificate Name: freelensia.com
  2318.    Domains: freelensia.com
  2319.    Expiry Date: 2019-04-14 02:23:19+00:00 (VALID: 89 days)
  2320.    Certificate Path: /etc/letsencrypt/live/freelensia.com/fullchain.pem
  2321.    Private Key Path: /etc/letsencrypt/live/freelensia.com/privkey.pem
  2322. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  2323. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2324.  
  2325. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt]
  2326. [0m[27m[24m[J[01;32m➜  [36mletsencrypt[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]\\./certbot-auto certificates[27Dclear                      [22D\sudo service nginx restart       status[?1l>[?2004l
  2327.  
  2328. sudo service nginx status]1;service\[?1h=
  2329. [0;1;32m●[0m nginx.service - nginx - high performance web server[m
  2330.   Loaded: loaded (/lib/systemd/system/nginx.service; enabled; vendor preset: enabled)[m
  2331.   Active: [0;1;32mactive (running)[0m since Mon 2019-01-14 10:26:09 +07; 52s ago[m
  2332.     Docs: http://nginx.org/en/docs/[m
  2333. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\\  Process: 13798 ExecStop=/bin/kill -s TERM $MAINPID (code=exited, status=0/SUCCESS)[m
  2334.  Process: 13874 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS)[m
  2335.  Process: 13869 ExecStartPre=/usr/sbin/nginx -t -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS)[m
  2336. Main PID: 13876 (nginx)[m
  2337.    Tasks: 2[m
  2338.   Memory: 1.7M[m
  2339.      CPU: 34ms[m
  2340.   CGroup: /system.slice/nginx.service[m
  2341.           ├─13876 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx\.con[m
  2342.           └─13880 nginx: worker process                   [m
  2343. [m
  2344. Jan 14 10:26:09 ip-172-31-16-146 systemd[1]: Starting nginx - high performance web server...[m
  2345. Jan 14 10:26:09 ip-172-31-16-146 nginx[13869]: nginx: the configuration file /etc/nginx/nginx.conf syntax is ok[m
  2346. Jan 14 10:26:09 ip-172-31-16-146 nginx[13869]: nginx: configuration file /etc/nginx/nginx.conf test is successful[m
  2347. Jan 14 10:26:09 ip-172-31-16-146 systemd[1]: nginx.service: Failed to read PID from file /var/run/n\ginx.pid: Invalid argument[m
  2348. Jan 14 10:26:09 ip-172-31-16-146 systemd[1]: Started nginx - high performance web server.[m
  2349.  
  2350. [K[?1l>[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2351.  
  2352. ubuntu@ip-172-31-16-146: /opt/letsencrypt]1;..t/letsencrypt
  2353. [0m[27m[24m[J[01;32m➜  [36mletsencryp]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\t[00m [01;34mgit:([31mmaster[34m)[00m [K[?1h=[?2004h]\\ccd /etc[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m/n\ginx[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m/c\onf.d[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m/s\itee -en        [?1l>[?2004l
  2354.  
  2355. cd /etc/nginx/conf.d]1;cd\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2356.  
  2357. ubuntu@ip-172-31-16-146: /etc/nginx/conf.d]1;../nginx/conf.d]
  2358. [0m[27m[24m[J[01;32m➜  [36mconf.d[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\lls[?1l>[?2004l
  2359.  
  2360. ls --color=tty]1;lsdefault.conf
  2361. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2362.  
  2363. ubuntu@ip-172-31-16-146: /etc/nginx/conf.d]1;../nginx/conf.d]
  2364. [0m[27m[24m[J[01;32m➜  [36mconf.d[00m [K]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[?1h=[?2004h\ccd ..[?1l>[?2004l
  2365.  
  2366. cd ..]1;cd\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2367.  
  2368. ubuntu@ip-172-31-16-146: /etc/nginx]1;/etc/nginx]
  2369. [0m[27m[24m[J[01;32m➜  [36mnginx[00m ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[K[?1h=[?2004h\ccd sites-enabled[1m/[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m [?1l>[?2004l
  2370.  
  2371. cd sites-enabled]1;cd\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2372.  
  2373. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled]
  2374. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[?1h=[?2004h\lls[?1l>[?2004l
  2375.  
  2376. ls --color=tty]1;ls\[0m[01;36mfreelensia_production[0m
  2377. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2378.  
  2379. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\]
  2380. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[?1h=[?2004h\cca
  2381.  
  2382. [J[0mcal                [Jcalendar           [Jcapsh              [Jcaptoinfo          [Jcase               [Jcat                [Jcatchsegv          [Jcatman             [Jcautious-launcher[J[A[0m[27m[24m
  2383. [17Cca[K\fr  t freelensia_production[1m [0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m [?1l>[?2004l
  2384.  
  2385. [Jcat freelensia_production]1;catupstream puma_freelensia_production {
  2386. \  server unix:/home/ubuntu/app/freelensia/shared/tmp/sockets/freelensia-puma.sock fail_timeout=0;
  2387. }
  2388.  
  2389. server {
  2390.  listen 80;
  2391.  server_name www.freelensia.com freelensia.com;
  2392.  root /home/ubuntu/app/freelensia/current/public;
  2393.  try_files $uri/index.html $uri @puma_freelensia_production;
  2394.  
  2395.  client_max_body_size 4G;
  2396.  keepalive_timeout 10;
  2397.  
  2398.  error_page 500 502 504 /500.html;
  2399.  error_page 503 @503;
  2400.  
  2401.  location @puma_freelensia_production {
  2402.    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  2403.    proxy_set_header Host $http_host;
  2404.    proxy_set_header X-Forwarded-Proto https;
  2405.    proxy_redirect off;
  2406.    proxy_pass http://puma_freelensia_production;
  2407.    # limit_req zone=one;
  2408.    access_log /home/ubuntu/app/freelensia/shared/log/nginx.access.log;
  2409.    error_log /home/ubuntu/app/freelensia/shared/log/nginx.error.log;
  2410.  }
  2411.  
  2412.  location ^~ /assets/ {
  2413.    gzip_static on;
  2414.    expires max;
  2415.    add_header Cache-Control public;
  2416.  }
  2417.  
  2418.  location = /50x.html {
  2419.    root html;
  2420.  }
  2421.  
  2422.  location = /404.html {
  2423.    root html;
  2424.  }
  2425.  
  2426.  location @503 {
  2427.    error_page 405 = /system/maintenance.html;
  2428.    if (-f $document_root/system/maintenance.html) {
  2429.      rewrite ^(.*)$ /system/maintenance.html break;
  2430.    }
  2431.    rewrite ^(.*)$ /503.html break;
  2432.  }
  2433.  
  2434.  if ($request_method !~ ^(GET|HEAD|PUT|PATCH|POST|DELETE|OPTIONS)$ ){
  2435.    return 405;
  2436.  }
  2437.  
  2438.  if (-f $document_root/system/maintenance.html) {
  2439.    return 503;
  2440.  }
  2441.  
  2442.    listen 443 ssl http2; # managed by Certbot
  2443. ssl_certificate /etc/letsencrypt/live/freelensia.com/fullchain.pem; # managed by Certbot
  2444. ssl_certificate_key /etc/letsencrypt/live/freelensia.com/privkey.pem; # managed by Certbot
  2445.    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
  2446.    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
  2447.  
  2448.  
  2449.  
  2450.    # Redirect non-https traffic to https
  2451.    if ($scheme != "https") {
  2452.        return 301 https://$host$request_uri;
  2453.    } # managed by Certbot
  2454.  
  2455. }
  2456. [1m[7m%[27m[1m[0m                     ]                                                                                                                                                                                                                          
  2457.  
  2458. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled
  2459. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo ufw status[?1l>[?2004l
  2460.  
  2461. sudo ufw status]1;ufw\Status: inactive
  2462. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2463.  
  2464. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled]
  2465. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[K[?1h=[?2004h\sudo ufw allow https[?1l>[?2004l
  2466.  
  2467. sudo ufw allow https]1;ufw\Rules updated
  2468. Rules updated (v6)
  2469. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2470.  
  2471. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled]
  2472. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo ufw allow https[11Dstatus     \[?1l>[?2004l
  2473.  
  2474. sudo ufw status]1;ufw\Status: inactive
  2475. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2476.  
  2477. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled]
  2478. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot renew --dry-run[?1l>[?2004l
  2479.  
  2480. sudo certbot renew --dry-run]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2481.  
  2482. -------------------------------------------------------------------------------
  2483. Processing /etc/letsencrypt/renewal/www.freelensia.com.conf
  2484. -------------------------------------------------------------------------------
  2485. [31mAttempting to parse the version 0.30.0 renewal configuration file found at /etc/letsencrypt/renewal/www.freelensia.com.conf with version 0.19.0 of Certbot. This might not work.[0m
  2486. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\Cert not due for renewal, but simulating renewal for dry run
  2487. Plugins selected: Authenticator standalone, Installer None
  2488. Renewing an existing certificate
  2489. Performing the following challenges:
  2490. http-01 challenge for www.freelensia.com
  2491. Cleaning up challenges
  2492. [31mAttempting to renew cert (www.freelensia.com) from /etc/letsencrypt/renewal/www.freelensia.com.conf produced an unexpected error: Problem binding to port 80: Could not bind to IPv4 or IPv6.. Skipping.[0m
  2493.  
  2494. -------------------------------------------------------------------------------]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\
  2495. Processing /etc/letsencrypt/renewal/freelensia.com.conf
  2496. -------------------------------------------------------------------------------
  2497. [31mAttempting to parse the version 0.30.0 renewal configuration file found at /etc/letsencrypt/renewal/freelensia.com.conf with version 0.19.0 of Certbot. This might not work.[0m
  2498. Cert not due for renewal, but simulating renewal for dry run
  2499. Plugins selected: Authenticator standalone, Installer None
  2500. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\Renewing an existing certificate
  2501. Performing the following challenges:
  2502. http-01 challenge for freelensia.com
  2503. Cleaning up challenges
  2504. [31mAttempting to renew cert (freelensia.com) from /etc/letsencrypt/renewal/freelensia.com.conf produced an unexpected error: Problem binding to port 80: Could not bind to IPv4 or IPv6.. Skipping.[0m
  2505. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\[31mAll renewal attempts failed. The following certs could not be renewed:[0m
  2506. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\[31m  /etc/letsencrypt/live/www.freelensia.com/fullchain.pem (failure)
  2507.  /etc/letsencrypt/live/freelensia.com/fullchain.pem (failure)[0m
  2508.  
  2509. -------------------------------------------------------------------------------
  2510. ** DRY RUN: simulating 'certbot renew' close to cert expiry
  2511. **          (The test certificates below have not been saved.)
  2512.  
  2513. All renewal attempts failed. The following certs could not be renewed:
  2514.  /etc/letsencrypt/live/www.freelensia.com/fullchain.pem (failure)
  2515.  /etc/letsencrypt/li]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\ve/freelensia.com/fullchain.pem (failure)
  2516. ** DRY RUN: simulating 'certbot renew' close to cert expiry
  2517. **          (The test certificates above have not been saved.)
  2518. -------------------------------------------------------------------------------
  2519. 2 renew failure(s), 0 parse failure(s)
  2520. [1m[7m%[27m[1m[0m                                                                                                                                                                                                         ]                                      
  2521.  
  2522. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled
  2523. [0m[27m[24m[J[01;31m➜  [36msites-enabled[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot renew --dry-run[23Dufw status             [13D\allow https[11Dstatus     \[15Dcat freelensia_production\[25Dls                       [23D\cd sites-enabled[13D..           [11D\ls   cd /etc/nginx/conf.d[20Dsudo service nginx status\[25D./certbot-auto certificates\[27Dclear                      [22D\sudo service nginx restart[21D-H ./letsencrypt-auto certonly --standalone -d www.freelensia.com\[65Dfuser -k 80/tcp                                                  [50D\[15D-H ./letsencrypt-auto certonly --standalone -d www.freelensia.com\[65Dfuser -k 80/tcp                                                  [50D\[?1l>[?2004l
  2524.  
  2525. sudo fuser -k 80/tcp]1;fuser\80/tcp:              13876 13880
  2526. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2527.  
  2528. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled
  2529. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo fuser -k 80/tcp[15Dcertbot renew --dry-run\[?1l>[?2004l
  2530.  
  2531. sudo certbot renew --dry-run]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2532.  
  2533. -------------------------------------------------------------------------------
  2534. Processing /etc/letsencrypt/renewal/www.freelensia.com.conf
  2535. -------------------------------------------------------------------------------
  2536. [31mAttempting to parse the version 0.30.0 renewal configuration file found at /etc/letsencrypt/renewal/www.freelensia.com.conf with version 0.19.0 of Certbot. This might not work.[0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\
  2537. Cert not due for renewal, but simulating renewal for dry run
  2538. Plugins selected: Authenticator standalone, Installer None
  2539. Renewing an existing certificate
  2540. Performing the following challenges:
  2541. http-01 challenge for www.freelensia.com
  2542. Waiting for verification...
  2543. Cleaning up challenges
  2544.  
  2545. -------------------------------------------------------------------------------
  2546. new certificate deployed without reload, fullchain is
  2547. /etc/letsencrypt/live/www.freelensia.com/fullchain.pem
  2548. -------------------------------------------------------------------------------
  2549.  
  2550. -------------------------------------------------------------------------------
  2551. Processing /etc/letsencrypt/renewal/freelensia.com.conf
  2552. -------------------------------------------------------------------------------
  2553. [31mAttempting to parse the version 0.30.0 renewal configuration file found at /etc/letsencrypt/renewal/freelensia.com.conf with version 0.19.0 of Certbot. This might not work.[0m
  2554. Cert not due for renewal, but simulating renewal for dry run
  2555. Plugins selected: Authenticator standalone, Inst]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\aller None
  2556. Renewing an existing certificate
  2557. Performing the following challenges:
  2558. http-01 challenge for freelensia.com
  2559. Waiting for verification...
  2560. Cleaning up challenges
  2561.  
  2562. -------------------------------------------------------------------------------
  2563. new certificate deployed without reload, fullchain is
  2564. /etc/letsencrypt/live/freelensia.com/fullchain.pem
  2565. -------------------------------------------------------------------------------
  2566.  
  2567. -------------------------------------------------------------------------------
  2568. ** DRY RUN: simulating 'certbot renew' close to cert expiry
  2569. **          (The test certificates below have not been saved.)
  2570.  
  2571. Congratulations, all renewals succeeded. The following certs have been renewed:
  2572.  /etc/letsencrypt/live/www.freelensia.com/fullchain.pem (success)
  2573.  /etc/letsencrypt/live/freelensia.com/fullchain.pem (success)
  2574. ** DRY RUN: simulating 'certbot renew' close to cert expiry
  2575. **          (The test certificates above have not been saved.)
  2576. -------------------------------------------------------------------------------
  2577. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2578.  
  2579. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled
  2580. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[?1h=[?2004h\sudo certbot renew --dry-run[23Dfuser -k 80/tcp        [8D\[15Dcertbot renew --dry-run\[23Dufw status             [13D\allow https[11Dstatus     \[15Dcat freelensia_production\[25Dls                       [23D\cd sites-enabled[13D..           [11D\ls   cd /etc/nginx/conf.d[20Dsudo service nginx status\[25D./certbot-auto certificates\[27Dsudo service nginx status  \      restart[?1l>[?2004l
  2581.  
  2582. sudo service nginx restart]1;service\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2583.  
  2584. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled]
  2585. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K[?1h=]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[?2004h\sudo service nginx restart[21Dc[2Ctbot renew --dry-run\[23Dfuser -k 80/tcp        [8D\[15Dcertbot renew --dry-run\[23Dufw status             [13D\allow https[11Dstatus     \[15Dcat freelensia_production\[25Dls                       [23D\cd sites-enabled[13D..           [11D\ls   cd /etc/nginx/conf.d[20Dls                  [18D\cd ..sites-enabled[16Dls              [14D\cat freelensia_production[25Dsudo ufw status          [10D\allow https[11Dstatus     \[10Dcertbot renew --dry-run\[23Dfuser -k 80/tcp        [8D\[15Dcertbot renew --dry-run\[23Dfuser -k 80/tcp        [8D\[15Dcertbot renew --dry-run\[23Ds[2Cvice nginx restart  \[26D                          [26D\ccdc  ccat sfreelensia_production[1m [0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m [?1l>[?2004l
  2586.  
  2587. cat freelensia_production]1;cat\upstream puma_freelensia_production {
  2588.  server unix:/home/ubuntu/app/freelensia/shared/tmp/sockets/freelensia-puma.sock fail_timeout=0;
  2589. }
  2590.  
  2591. server {
  2592.  listen 80;
  2593.  server_name www.freelensia.com freelensia.com;
  2594.  root /home/ubuntu/app/freelensia/current/public;
  2595.  try_files $uri/index.html $uri @puma_freelensia_production;
  2596.  
  2597.  client_max_body_size 4G;
  2598.  keepalive_timeout 10;
  2599.  
  2600.  error_page 500 502 504 /500.html;
  2601.  error_page 503 @503;
  2602.  
  2603.  location @puma_freelensia_production {
  2604.    proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  2605.    proxy_set_header Host $http_host;
  2606.    proxy_set_header X-Forwarded-Proto https;
  2607.    proxy_redirect off;
  2608.    proxy_pass http://puma_freelensia_production;
  2609.    # limit_req zone=one;
  2610.    access_log /home/ubuntu/app/freelensia/shared/log/nginx.access.log;
  2611.    error_log /home/ubuntu/app/freelensia/shared/log/nginx.error.log;
  2612.  }
  2613.  
  2614.  location ^~ /assets/ {
  2615.    gzip_static on;
  2616.    expires max;
  2617.    add_header Cache-Control public;
  2618.  }
  2619.  
  2620.  location = /50x.html {
  2621.    root html;
  2622.  }
  2623.  
  2624.  location = /404.html {
  2625.    root html;
  2626.  }
  2627.  
  2628.  location @503 {
  2629.    error_page 405 = /system/maintenance.html;
  2630.    if (-f $document_root/system/maintenance.html) {
  2631.      rewrite ^(.*)$ /system/maintenance.html break;
  2632.    }
  2633.    rewrite ^(.*)$ /503.html break;
  2634.  }
  2635.  
  2636.  if ($request_method !~ ^(GET|HEAD|PUT|PATCH|POST|DELETE|OPTIONS)$ ){
  2637.    return 405;
  2638.  }
  2639.  
  2640.  if (-f $document_root/system/maintenance.html) {
  2641.    return 503;
  2642.  }
  2643.  
  2644.    listen 443 ssl http2; # managed by Certbot
  2645. ssl_certificate /etc/letsencrypt/live/freelensia.com/fullchain.pem; # managed by Certbot
  2646. ssl_certificate_key /etc/letsencrypt/live/freelensia.com/privkey.pem; # managed by Certbot
  2647.    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
  2648.    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
  2649.  
  2650.  
  2651.  
  2652.    # Redirect non-https traffic to https
  2653.    if ($scheme != "https") {
  2654.        return 301 https://$host$request_uri;
  2655.    } # managed by Certbot
  2656.  
  2657. }
  2658. [1m[7m%[27m[1m[0m                                                                                                                      ]                                                                                                                        
  2659.  
  2660. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled
  2661. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\cat freelensia_production[25Dsudo service nginx restart\[21Dc[2Ctbot renew --dry-run\              create[?1l>[?2004l
  2662.  
  2663. sudo certbot create]1;certbot\usage:
  2664.  certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
  2665.  
  2666. Certbot can obtain and install HTTPS/TLS/SSL certificates.  By default,
  2667. it will attempt to use a webserver both for obtaining and installing the
  2668. certificate.
  2669. certbot: error: unrecognized arguments: create
  2670. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2671.  
  2672. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled
  2673. [0m[27m[24m[J[01;31m➜  [36msites-enabled[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\ sudo certbot create[?1l>[?2004l
  2674.  
  2675. sudo certbot create]1;certbot\usage:
  2676.  certbot [SUBCOMMAND] [options] [-d DOMAIN] [-d DOMAIN] ...
  2677.  
  2678. Certbot can obtain and install HTTPS/TLS/SSL certificates.  By default,
  2679. it will attempt to use a webserver both for obtaining and installing the
  2680. certificate.
  2681. certbot: error: unrecognized arguments: create
  2682. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2683.  
  2684. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled]
  2685. [0m[27m[24m[J[01;31m➜  [36msites-enabled[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo ufw allow 80[?1l>[?2004l
  2686.  
  2687. sudo ufw allow 80]1;ufw\Rules updated
  2688. Rules updated (v6)
  2689. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2690.  
  2691. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled]
  2692. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot certonly --standalone --preferred-challenges http -d example.com                 tls-sni[?1l>[?2004l
  2693.  
  2694. sudo certbot certonly --standalone --preferred-challenges tls-sni]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2695. Plugins selected: Authenticator standalone, Installer None
  2696. Please enter in your domain name(s) (comma and/or space separated)  (Enter 'c'
  2697. to cancel): www.freelensia.com
  2698. [31mAttempting to parse the version 0.30.0 renewal configuration file found at /etc/letsencrypt/renewal/www.freelensia.com.conf with version 0.19.0 of Certbot. This might not work.[0m
  2699. [31mAttempting to parse the version 0.30.0 renewal configuration file found at /etc/letsencrypt/renewal/freelensia.com.conf with version 0.19.0 of Certbot. This might not work.[0m
  2700. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\Cert not yet due for renewal
  2701.  
  2702. You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
  2703. (ref: /etc/letsencrypt/renewal/www.freelensia.com.conf)
  2704.  
  2705. What would you like to do?
  2706. -------------------------------------------------------------------------------
  2707. 1: Keep the existing certificate for now
  2708. 2: Renew & replace the cert (limit ~5 per 7 days)
  2709. -------------------------------------------------------------------------------
  2710. Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
  2711. Renewing an existing certificate
  2712. Performing the following challenges:
  2713. tls-sni-01 challenge for www.freelensia.com
  2714. Cleaning up challenges
  2715. Problem binding to port 443: Could not bind to IPv4 or IPv6.
  2716. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2717.  
  2718. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]1;..sites-enabled
  2719. [0m[27m[24m[J[01;31m➜  [36msites-enabled[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot certonly --standalone --preferred-challenges tls-sni       http[?1l>[?2004l
  2720.  
  2721. sudo certbot certonly --standalone --preferred-challenges http]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2722. Plugins selected: Authenticator standalone, Installer None
  2723. Please enter in your domain name(s) (comma and/or space separated)  (Enter 'c'
  2724. to cancel): www.freelensia.com
  2725. [31mAttempting to parse the version 0.30.0 renewal configuration file found at /etc/letsencrypt/renewal/www.freelensia.com.conf with version 0.19.0 of Certbot. This might not work.[0m
  2726. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\[31mAttempting to parse the version 0.30.0 renewal configuration file found at /etc/letsencrypt/renewal/freelensia.com.conf with version 0.19.0 of Certbot. This might not work.[0m
  2727. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\Cert not yet due for renewal
  2728.  
  2729. You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
  2730. (ref: /etc/letsencrypt/renewal/www.freelensia.com.conf)
  2731.  
  2732. What would you like to do?
  2733. -------------------------------------------------------------------------------
  2734. 1: Keep the existing certificate for now
  2735. 2: Renew & replace the cert (limit ~5 per 7 days)
  2736. -------------------------------------------------------------------------------
  2737. Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
  2738. Renewing an existing certificate
  2739. Performing the following challenges:
  2740. http-01 challenge for www.freelensia.com
  2741. Cleaning up challenges
  2742. Problem binding to port 80: Could not bind to IPv4 or IPv6.
  2743. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2744.  
  2745. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]1;..sites-enabled
  2746. [0m[27m[24m[J[01;31m➜  [36msites-enabled[00m [K[?1h=[?2004h]\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo certbot certonly --standalone --preferred-challenges httptls-sni[60Dufw allow 80                                                [48D\[12Dcertbot create\[19Dcat freelensia_production\[25Dsudo service nginx restart\[21Dc[2Ctbot renew --dry-run\[23Dfuser -k 80/tcp        [8D\[?1l>[?2004l
  2747.  
  2748. sudo fuser -k 80/tcp]1;fuser\80/tcp:              14290 14294
  2749. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2750.  
  2751. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled
  2752. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo fuser -k 80/tcp[15Dcertbot certonly --standalone --preferred-challenges http\[?1l>[?2004l
  2753.  
  2754. sudo certbot certonly --standalone --preferred-challenges http]1;certbot\Saving debug log to /var/log/letsencrypt/letsencrypt.log
  2755. Plugins selected: Authenticator standalone, Installer None
  2756. Please enter in your domain name(s) (comma and/or space separated)  (Enter 'c'
  2757. to cancel): www.freelensia.com
  2758. [31mAttempting to parse the version 0.30.0 renewal configuration file found at /etc/letsencrypt/renewal/www.freelensia.com.conf with version 0.19.0 of Certbot. This might not work.[0m
  2759. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\[31mAttempting to parse the version 0.30.0 renewal configuration file found at /etc/letsencrypt/renewal/freelensia.com.conf with version 0.19.0 of Certbot. This might not work.[0m
  2760. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x04)"\\Cert not yet due for renewal
  2761.  
  2762. You have an existing certificate that has exactly the same domains or certificate name you requested and isn't close to expiry.
  2763. (ref: /etc/letsencrypt/renewal/www.freelensia.com.conf)
  2764.  
  2765. What would you like to do?
  2766. -------------------------------------------------------------------------------
  2767. 1: Keep the existing certificate for now
  2768. 2: Renew & replace the cert (limit ~5 per 7 days)
  2769. -------------------------------------------------------------------------------
  2770. Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
  2771. Renewing an existing certificate
  2772. Performing the following challenges:
  2773. http-01 challenge for www.freelensia.com
  2774. Waiting for verification...
  2775. Cleaning up challenges
  2776. [1m
  2777. IMPORTANT NOTES:
  2778. [0m - Congratulations! Your certificate and chain have been saved at:
  2779.    /etc/letsencrypt/live/www.freelensia.com/fullchain.pem
  2780.    Your key file has been saved at:
  2781. ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\   /etc/letsencrypt/live/www.freelensia.com/privkey.pem
  2782.    Your cert will expire on 2019-04-14. To obtain a new or tweaked
  2783.    version of this certificate in the future, simply run certbot
  2784.    again. To non-interactively renew *all* of your certificates, run
  2785.    "certbot renew"
  2786.  - If you like Certbot, please consider supporting our work by:
  2787.  
  2788.    Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
  2789.   Donating to EFF:                    https://eff.org/donate-le
  2790.  
  2791. [1m[7m%[27m[1m[0m   ]                                                                                                                                                                                                                                            
  2792.  
  2793. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled
  2794. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\ssudo nano freelensia_production[1m [0m]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0F)"\\[0m [?1l>[?2004l
  2795.  
  2796. sudo nano freelensia_production]1;nano\[?1049h[1;57r(B[m[4l[?7h[?1h=[?1h=[?1h=\[39;49m[?25l[39;49m(B[m[H[2J[55;113H(B[0;7m[ Reading File ]
  2797. [3d(B[m[55;112H(B[0;7m[ Read 71 lines
  2798. [3d(B[m[?12l[?25h[H[39;49m(B[0;7m  GNU nano 2.5.3                                                               File: freelensia_production                                                                                                                                      [3;1H(B[mupstream puma_freelensia_production {[4;3Hserver unix:/home/ubuntu/app/freelensia/shared/tmp/sockets/fr]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\\eelensia-puma.sock fail_timeout=0;
  2799. [5d}[7dserver {[8;3Hlisten 80;[9;3Hserver_name www.freelensia.com freelensia.com;[10;3Hroot /home/ubuntu/app/freelensia/current/public;[11;3Htry_files $uri/index.html $uri @puma_freelensia_production;[13;3Hclient_max_body_size 4G;[14;3Hkeepalive_timeout 10;[16;3Herror_page 500 502 504 /500.html;[17;3Herror_page 503 @503;[19;3Hlocation @puma_freelensia_production {[20;5Hproxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;[21;5Hproxy_set_header Host $ht\tp_host;[22;5Hproxy_set_header X-Forwarded-Proto https;[23;5Hproxy_redirect off;[24;5Hproxy_pass http://puma_freelensia_production;[25;5H# limit_req zone=one;[26;5Haccess_log /home/ubuntu/app/freelensia/shared/log/nginx.access.log;[27;5Herror_log /home/ubuntu/app/freelensia/shared/log/nginx.error.log;[28;3H}[30dlocation ^~ /assets/ {[31;5Hgzip_static on;[32;5Hexpires max;[33;5Hadd_header Cache-Control public;[34;3H}[36dlocation = /50x.html {[37;5Hroot html;[38;3H}[40dlocation = /404.html \{[41;5Hroot html;[42;3H}[44dlocation @503 {[45;5Herror_page 405 = /system/maintenance.html;[46;5Hif (-f $document_root/system/maintenance.html) {[47;7Hrewrite ^(.*)$ /system/maintenance.html break;[48;5H}[49drewrite ^(.*)$ /503.html break;[50;3H}[52dif ($request_method !~ ^(GET|HEAD|PUT|PATCH|POST|DELETE|OPTIONS)$ ){[53;5Hreturn 405;[54;3H}
  2800. [56d(B[0;7m^G(B[m Get Help[18G(B[0;7m^O(B[m Write Out     (B[0;7m^W(B[m Where Is[52G(B[0;7m^K(B[m Cut Text[69G(B[0;7m^J(B[m Justif]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\\y[86G(B[0;7m^C(B[m Cur Pos[103G(B[0;7m^Y(B[m Prev Page     (B[0;7mM-\(B[m First Line   (B[0;7mM-W(B[m WhereIs Next (B[0;7m^^(B[m Mark Text     (B[0;7mM-}(B[m Indent Text  (B[0;7mM-U(B[m Undo[56;205H(B[0;7m^B(B[m Back[56;222H(B[0;7mM-Space(B[m Prev Word
  2801. [57d(B[0;7m^X(B[m Exit[57;18H(B[0;7m^R(B[m Read File     (B[0;7m^\(B[m Replace[52G(B[0;7m^U(B[m Uncut Text    (B[0;7m^T(B[m To Spell[86G(B[0;7m^_(B[m Go To Line    (B[0;7m^V(B[m Next Page]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\\     (B[0;7mM-/(B[m Last Line    (B[0;7mM-](B[m To Bracket   (B[0;7mM-^(B[m Copy Text    (B[0;7mM-{(B[m Unindent Text(B[0;7mM-E(B[m Redo[57;205H(B[0;7m^F(B[m Forward[222G(B[0;7m^Space(B[m Next Word
  2802. [3d]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\\[4d\[5d\[6d\[7d\[8d\[9d\[10d\[11d\[12d\[13d\[14d\[15d\[16d\[17d\[18d\[19d\[20d\[21d\[22d\[23d\[24d\[25d\[26d\[27d\[28d\[55d[K[29d\[30d\[31d\[32d\[33d\[34d\[35d\[36d\[37d\[38d\[39d\[40d\[41d\[42d\[43d\[44d\[45d\[46d\[47d\[48d\[49d\[50d\[51d\[52d\[53d\[54d\7[2;55r8[55d[27S[1;57r[29;3Hif (-f $document_root/system/maintenance.html) {[30;5Hreturn 503;[31;3H}[33d listen 443 ssl http2; # managed by Certbot
  2803. [34dssl_certificate /etc/letsencrypt/live/freelensia.com/fullchain.pem; # managed by Certbot
  2804. [35dssl_certificate_key /etc/letsencrypt/live/freelensia.com/privkey.pem; # managed by Certbot[36;5Hinclude /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot[37;5Hssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot[41;5H# Redire\ct non-https traffic to https[42;5Hif ($scheme != "https") {[43;9Hreturn 301 https://$host$request_uri;[44;5H} # managed by Certbot
  2805. [46d}[28d\[29d\[30d\[31d\[32d\[33d\[34d\[35d\[A\[35d\[34;89H\[1;231H(B[0;7mModified[34;39H(B[mwfreelensia.com/fullchain.pem; # managed by Certbot[34;40H]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\\wwfreelensia.com/fullchain.pem; # managed by Certbot[34;41H\wwwfreelensia.com/fullchain.pem; # managed by Certbot[34;42H\.freelensia.com/fullchain.pem; # managed by Certbot[34;43H\[35d\wfreelensia.com/privkey.pem; # managed by Certbot[35;44H\wwfreelensia.com/privkey.pem; # managed by Certbot[35;45H\wwwfreelensia.com/privkey.pem; # managed by Certbot[35;46H\.freelensia.com/privkey.pem; # managed by Certbot[35;47H\
  2806. [55d(B[0;7mSave modified buffer (ANSWERING "No" WILL DESTROY CHANGES) ?                                                                                                                                                                                    [56;1H Y(B[m Yes[K
  2807. [57d(B[0;7m N(B[m No  [57;17H(B[0;7m^C(B[m Cancel[K[55;62H]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\\
  2808. (B[0;7mFile Name to Write: freelensia_production                  
  2809. [56d^G(B[m Get Help[56;49H(B[0;7mM-D(B[m DOS Format[56;97H(B[0;7mM-A(B[m Append[56;145H(B[0;7mM-B(B[m Backup File
  2810. [57d(B[0;7m^C(B[m Cancel[17G         [57;49H(B[0;7mM-M(B[m Mac Format[57;97H(B[0;7mM-P(B[m Prepend[57;145H(B[0;7m^T(B[m To Files[55;42H]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\\[?25l[55;111H[39;49m(B[m[1K (B[0;7m[ Wrote 71 lines ](B[m[K[35;47H
  2811. [55d[J[1;231H(B[0;7m        [57;240H(B[m[57;1H[?12l[?25h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x4007)"\\[?1049l
  2812. [?1l>[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2813.  
  2814. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled
  2815. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\sudo nano freelensia_production[26Dcertbot certonly --standalone --preferred-challenges http\[57Dfuser -k 80/tcp                                          [42D\[15Dcertbot certonly --standalone --preferred-challenges http\tls-sni[60Dufw allow 80                                                [48D\[12Dcertbot create\[19Dcat freelensia_production\[25Dsudo service nginx restart\[?1l>[?2004l
  2816.  
  2817. sudo service nginx restart]1;service\[1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2818.  
  2819. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled]
  2820. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m ]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\[K[?1h=[?2004h\[?1l>[?2004l
  2821.  
  2822. [1m[7m%[27m[1m[0m                                                                                                                                                                                                                                              
  2823.  
  2824. ubuntu@ip-172-31-16-146: /etc/nginx/sites-enabled]1;..sites-enabled
  2825. [0m[27m[24m[J[01;32m➜  [36msites-enabled[00m [K[?1h=[?2004h]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x400F)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0A)"\]9;11;"conemu-cyg-64.exe: ExtSetAttributes(0x0B)"\\eexit[?1l>[?2004l
  2826.  
  2827. exit]1;exitConnection to 13.228.34.60 closed.
  2828.  
  2829. root@XXX-PC: ~/freelensiaroot@XXX-PC:~/freelensia# \exit
  2830. logout
  2831.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement