tested examples
This commit is contained in:
parent
b9c5a26047
commit
093c2ff3c5
|
@ -1,8 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
node bin/letsencrypt certonly \
|
||||
--agree-tos --email 'john.doe@gmail.com' \
|
||||
--standalone \
|
||||
--domains example.com,www.example.com \
|
||||
--server https://acme-staging.api.letsencrypt.org/directory \
|
||||
--config-dir ~/letsencrypt.test/etc
|
|
@ -0,0 +1,6 @@
|
|||
#!/bin/bash
|
||||
sudo greenlock certonly --standalone \
|
||||
--acme-version draft-11 --acme-url https://acme-staging-v02.api.letsencrypt.org/directory \
|
||||
--agree-tos --email jon@example.com --domains example.com,www.example.com \
|
||||
--community-member \
|
||||
--config-dir ~/acme/etc
|
|
@ -0,0 +1,17 @@
|
|||
#!/bin/bash
|
||||
|
||||
## create a quick server if needed
|
||||
# sudo mkdir -p /srv/www/example.com
|
||||
# pushd /srv/www/example.com
|
||||
# sudo python -m SimpleHTTPServer 80 &
|
||||
# my_pid=$!
|
||||
|
||||
sudo greenlock certonly --webroot \
|
||||
--acme-version draft-11 --acme-url https://acme-staging-v02.api.letsencrypt.org/directory \
|
||||
--agree-tos --email jon@example.com --domains example.com \
|
||||
--community-member \
|
||||
--root /srv/www/example.com \
|
||||
--config-dir ~/acme/etc
|
||||
|
||||
# kill $my_pid
|
||||
# popd
|
Loading…
Reference in New Issue