Zachman61

Centminmod new vhost log

Dec 18th, 2015
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.29 KB | None | 0 0
  1.  
  2. ---------------------------------------------
  3. (B
  4. Enter vhost domain name to add (without www. prefix): zeesixtyone.com
  5.  
  6. Create a self-signed SSL certificate Nginx vhost? [y/n]: n
  7.  
  8. To get Letsencrypt SSL certificate, you must already have updated intended
  9. (Bdomain vhost name's DNS A record to this server's IP addresss.
  10. (BIf top level domain, DNS A record is needed also for www. version of domain
  11. (Botherwise, Letsencrypt domain name validation will fail.
  12. (B
  13.  
  14. zeesixtyone.com is a top level domain
  15. (Byour server IP address: 107.170.139.232
  16. (Bcurrent DNS A record IP address for zeesixtyone.com is: 107.170.139.232
  17. (Bcurrent DNS A record IP address for www.zeesixtyone.com is: 107.170.139.232
  18. (B
  19. Abort this Nginx vhost domain setup to setup proper DNS A record(s) first? [y/n]: n
  20. Obtain Letsencrypt Free SSL certificate (90 day expiry / renew every 60 days) ? [y/n]: y
  21.  
  22. Create FTP username for vhost domain (enter username): test
  23. Auto generate FTP password (recommended) [y/n]: y
  24.  
  25. FTP username you entered: <removed>
  26. FTP password auto generated: <removed>
  27.  
  28. Password:
  29. Enter it again:
  30. ---------------------------------------------------------------
  31. (BSSL Vhost Setup...
  32. (B---------------------------------------------------------------
  33. (B
  34. ---------------------------------------------------------------
  35. (BGenerating self signed SSL certificate...
  36. (BCSR file can also be used to be submitted for paid SSL certificates
  37. (BIf using for paid SSL certificates be sure to keep both private key and CSR safe
  38. (Bcreating CSR File: zeesixtyone.com.csr
  39. (Bcreating private key: zeesixtyone.com.key
  40. (Bcreating self-signed SSL certificate: zeesixtyone.com.crt
  41. (BGenerating a 2048 bit RSA private key
  42. ..........................................+++
  43. ...........................+++
  44. writing new private key to 'zeesixtyone.com.key'
  45. -----
  46. Signature ok
  47. subject=/C=US/ST=California/L=Los Angeles/O=zeesixtyone.com/OU=zeesixtyone.com/CN=zeesixtyone.com
  48. Getting Private key
  49.  
  50. ---------------------------------------------------------------
  51. (BGenerating backup CSR and private key for HTTP Public Key Pinning...
  52. (Bcreating CSR File: zeesixtyone.com-backup.csr
  53. (Bcreating private key: zeesixtyone.com-backup.key
  54. (BGenerating a 2048 bit RSA private key
  55. ...............................................................+++
  56. .+++
  57. writing new private key to 'zeesixtyone.com-backup.key'
  58. -----
  59.  
  60. ---------------------------------------------------------------
  61. (BExtracting Base64 encoded information for primary and secondary
  62. (Bprivate key's SPKI - Subject Public Key Information
  63. (BPrimary private key - zeesixtyone.com.key
  64. (BBackup private key - zeesixtyone.com-backup.key
  65. (BFor HPKP - HTTP Public Key Pinning hash generation...
  66. (B
  67. extracting SPKI Base64 encoded hash for primary private key = zeesixtyone.com.key ...
  68. (Bwriting RSA key
  69. gtdTP07x3YMXlL8s6MAgNKT/ddXwjpnWqhFvpN0uUCg=
  70.  
  71. extracting SPKI Base64 encoded hash for backup private key = zeesixtyone.com-backup.key ...
  72. (Bwriting RSA key
  73. BsDuE5DILp3dkhIxxqnLYAcX3WEOD0bpzjmyazbaFvY=
  74.  
  75. HTTP Public Key Pinning Header for Nginx
  76. (B
  77. for 7 days max-age including subdomains
  78. (B
  79. add_header Public-Key-Pins 'pin-sha256="gtdTP07x3YMXlL8s6MAgNKT/ddXwjpnWqhFvpN0uUCg="; pin-sha256="BsDuE5DILp3dkhIxxqnLYAcX3WEOD0bpzjmyazbaFvY="; max-age=86400; includeSubDomains';
  80.  
  81. for 7 days max-age excluding subdomains
  82. (B
  83. add_header Public-Key-Pins 'pin-sha256="gtdTP07x3YMXlL8s6MAgNKT/ddXwjpnWqhFvpN0uUCg="; pin-sha256="BsDuE5DILp3dkhIxxqnLYAcX3WEOD0bpzjmyazbaFvY="; max-age=86400';
  84.  
  85. ---------------------------------------------------------------
  86. (BGenerating dhparam.pem file - can take a few minutes...
  87. (BGenerating DH parameters, 2048 bit long safe prime, generator 2
  88. This is going to take a long time
  89. .........................................+.............+...............................................................................................................................................................................................................................................................................................................................................................................................+...........................+..............................................................+........................................................+...........................+...+......................................................+.......................................................+..................................................................................................................................................+......+................+....................................................................................................................................................+...........................................+............+.........................................................................................................+.......+.............+............................................................................................................................+.........+...................................................................................................................+..............................................+...........................................+...........................................................+........................+..............................................................................................................................................................................................................+.............................+.......................................+..........................................................................................................................................+.....................................................+.......................................+.............................................................................................................+...........................................+.+..........................................+.............................................................+.....................+..........................................................................+..............................................+........................................................................+.............................+.....................+...............................................................................+..................................................................................+...........................................................................+...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................+...............................................................................+..............................+........................................................................................................+..............................+.................................................................+..........................................................................................................................................................................+...............................................................................................................................................................................................................................................................................+......................................................................................................................+..............+...........................................+...............................................................................................+....................+............................+...................................................+.......................................................................+.....................................................................................................................................................................................................................................................................................................................+...............................................................................................................................................+...................................................................................................................+..............+.....................................................................................................................+.+...............................................................................................+.......+......................+.........................................................+..++*++*
  90. dhparam file generation time: 73.195943122
  91. (B
  92. -------------------------------------------------------------
  93. (Bservice nginx reload
  94. nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
  95. nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
  96. Reloading nginx: [ OK ]
  97. service pure-ftpd restart
  98. Stopping pure-ftpd: [ OK ]
  99. Starting pure-ftpd: [ OK ]
  100.  
  101. ----------------------------------------------------
  102. (Bsystem memory profile: 289 MB available
  103. (B----------------------------------------------------
  104. (B total used free shared buffers cached
  105. Mem: 490 302 188 18 21 101
  106. Low: 490 302 188
  107. High: 0 0 0
  108. -/+ buffers/cache: 178 311
  109. Swap: 0 0 0
  110.  
  111. installing or updating letsencrypt client
  112. (B
  113.  
  114. fatal: destination path 'letsencrypt' already exists and is not an empty directory.
  115. Updating letsencrypt and virtual environment dependencies......Command "/root/.local/share/letsencrypt/bin/python2.7 -c "import setuptools, tokenize;__file__='/tmp/pip-build-_tG5r0/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-lSbzy6-record/install-record.txt --single-version-externally-managed --compile --install-headers /root/.local/share/letsencrypt/include/site/python2.7/cryptography" failed with error code 1 in /tmp/pip-build-_tG5r0/cryptography
  116. setup general /etc/letsencrypt/webroot.ini letsencrypt config file
  117. (Btouch: cannot touch `/etc/letsencrypt/webroot.ini': No such file or directory
  118. inc/letsencrypt.inc: line 78: /etc/letsencrypt/webroot.ini: No such file or directory
  119. grep: /etc/letsencrypt/webroot.ini: No such file or directory
  120. /root/.local/share/letsencrypt/bin/letsencrypt not found
  121. (B
  122. -------------------------------------------------------------
  123. (BFTP hostname : 107.170.139.232
  124. (BFTP port : 21
  125. (BFTP mode : FTP (explicit SSL)
  126. (BFTP Passive (PASV) : ensure is checked/enabled
  127. (BFTP username created for zeesixtyone.com : <removed>
  128. (BFTP password created for zeesixtyone.com : <removed>
  129. (B-------------------------------------------------------------
  130. (Bvhost for zeesixtyone.com created successfully
  131. (B
  132. domain: http://zeesixtyone.com
  133. (Bvhost conf file for zeesixtyone.com created: /usr/local/nginx/conf/conf.d/zeesixtyone.com.conf
  134. (B
  135. vhost ssl for zeesixtyone.com created successfully
  136. (B
  137. domain: https://zeesixtyone.com
  138. (Bvhost ssl conf file for zeesixtyone.com created: /usr/local/nginx/conf/conf.d/zeesixtyone.com.ssl.conf
  139. (B/usr/local/nginx/conf/ssl_include.conf created
  140. (BSelf-signed SSL Certificate: /usr/local/nginx/conf/ssl/zeesixtyone.com/zeesixtyone.com.crt
  141. (BSSL Private Key: /usr/local/nginx/conf/ssl/zeesixtyone.com/zeesixtyone.com.key
  142. (BSSL CSR File: /usr/local/nginx/conf/ssl/zeesixtyone.com/zeesixtyone.com.csr
  143. (BBackup SSL Private Key: /usr/local/nginx/conf/ssl/zeesixtyone.com/zeesixtyone.com-backup.key
  144. (BBackup SSL CSR File: /usr/local/nginx/conf/ssl/zeesixtyone.com/zeesixtyone.com-backup.csr
  145. (B
  146. upload files to /home/nginx/domains/zeesixtyone.com/public
  147. (Bvhost log files directory is /home/nginx/domains/zeesixtyone.com/log
  148. (B
  149. -------------------------------------------------------------
  150. (BCurrent vhost listing at: /usr/local/nginx/conf/conf.d/
  151. (B
  152.  
  153. Dec 18 00:33 845 ssl.conf
  154. Dec 18 00:33 1.1K demodomain.com.conf
  155. Dec 18 00:42 1.6K virtual.conf
  156. Dec 18 03:35 1.7K xf.zeesixtyone.com.conf
  157. Dec 18 03:35 4.0K xf.zeesixtyone.com.ssl.conf
  158. Dec 18 13:39 1.6K venor.xyz.conf
  159. Dec 18 13:39 3.9K venor.xyz.ssl.conf
  160. Dec 18 21:30 1.7K zeesixtyone.com.conf
  161. Dec 18 21:30 4.0K zeesixtyone.com.ssl.conf
  162.  
  163. -------------------------------------------------------------
  164. (BCurrent vhost ssl files listing at: /usr/local/nginx/conf/ssl/zeesixtyone.com
  165. (B
  166.  
  167. Dec 18 21:28 1.7K zeesixtyone.com.key
  168. Dec 18 21:28 1.1K zeesixtyone.com.csr
  169. Dec 18 21:28 1.3K zeesixtyone.com.crt
  170. Dec 18 21:28 1.7K zeesixtyone.com-backup.key
  171. Dec 18 21:28 1.1K zeesixtyone.com-backup.csr
  172. Dec 18 21:28 45 hpkp-info-primary-pin.txt
  173. Dec 18 21:28 45 hpkp-info-secondary-pin.txt
  174. Dec 18 21:30 424 dhparam.pem
  175.  
  176. -------------------------------------------------------------
  177. (BCommands to remove zeesixtyone.com
  178. (B
  179.  rm -rf /usr/local/nginx/conf/conf.d/zeesixtyone.com.conf
  180. (B rm -rf /usr/local/nginx/conf/conf.d/zeesixtyone.com.ssl.conf
  181. (B rm -rf /usr/local/nginx/conf/ssl/zeesixtyone.com/zeesixtyone.com.crt
  182. (B rm -rf /usr/local/nginx/conf/ssl/zeesixtyone.com/zeesixtyone.com.key
  183. (B rm -rf /usr/local/nginx/conf/ssl/zeesixtyone.com/zeesixtyone.com.csr
  184. (B rm -rf /usr/local/nginx/conf/ssl/zeesixtyone.com
  185. (B rm -rf /home/nginx/domains/zeesixtyone.com
  186. (B service nginx restart
  187. (B-------------------------------------------------------------
  188. (B
Add Comment
Please, Sign In to add comment