Advertisement
szabozoltan69

"main" create

Jun 22nd, 2020
1,383
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.27 KB | None | 0 0
  1. # A ~/sysop/new_domain_letsencrypt elejére: d=main
  2.  
  3. ~/sysop$ ./new_domain_letsencrypt
  4. Jo lesz a main? Ha nem, ctrl+c (Vigyazz, torol, ha mar van ilyen)
  5.  
  6. Saving debug log to /var/log/letsencrypt/letsencrypt.log
  7. Plugins selected: Authenticator nginx, Installer nginx
  8. Obtaining a new certificate
  9. Performing the following challenges:
  10. http-01 challenge for main.system.idev.tmrwsystem.life
  11. Waiting for verification...
  12. Cleaning up challenges
  13. Deploying Certificate to VirtualHost /etc/nginx/sites-enabled/system_main
  14.  
  15. Please choose whether or not to redirect HTTP traffic to HTTPS, removing HTTP access.
  16. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  17. 1: No redirect - Make no further changes to the webserver configuration.
  18. 2: Redirect - Make all requests redirect to secure HTTPS access. Choose this for
  19. new sites, or if you're confident your site works on HTTPS. You can undo this
  20. change by editing your web server's configuration.
  21. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  22. Select the appropriate number [1-2] then [enter] (press 'c' to cancel): 2
  23. Redirecting all traffic on port 80 to ssl in /etc/nginx/sites-enabled/system_main
  24.  
  25. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  26. Congratulations! You have successfully enabled
  27. https://main.system.idev.tmrwsystem.life
  28.  
  29. You should test your configuration at:
  30. https://www.ssllabs.com/ssltest/analyze.html?d=main.system.idev.tmrwsystem.life
  31. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  32.  
  33. IMPORTANT NOTES:
  34.  - Congratulations! Your certificate and chain have been saved at:
  35.    /etc/letsencrypt/live/main.system.idev.tmrwsystem.life/fullchain.pem
  36.    Your key file has been saved at:
  37.    /etc/letsencrypt/live/main.system.idev.tmrwsystem.life/privkey.pem
  38.    Your cert will expire on 2020-09-20. To obtain a new or tweaked
  39.    version of this certificate in the future, simply run certbot again
  40.    with the "certonly" option. To non-interactively renew *all* of
  41.    your certificates, run "certbot renew"
  42.  - If you like Certbot, please consider supporting our work by:
  43.  
  44.    Donating to ISRG / Let's Encrypt:   https://letsencrypt.org/donate
  45.   Donating to EFF:                    https://eff.org/donate-le
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement