Skip to content

Instantly share code, notes, and snippets.

@movii
Created March 13, 2018 07:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save movii/da677bfe54114d7eb4c18ede982aeb59 to your computer and use it in GitHub Desktop.
Save movii/da677bfe54114d7eb4c18ede982aeb59 to your computer and use it in GitHub Desktop.
使用 Let’s Encrypt 配置站点 SSL/TLS 遇到一些问题 - 10.
certbot \
certonly \
--webroot \
--agree-tos \
--email YOUR@EMAIL.COM \
--webroot-path /var/www/example.com --domains example.com
--webroot-path /var/www/subdomain1 --domains subdomain1.example.com
--webroot-path /var/www/subdomain2 --domains subdomain2.example.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment