2018-08-13 14:11:07 +00:00
|
|
|
#!/bin/bash
|
2018-08-13 15:49:25 +00:00
|
|
|
echo "Generating SSL..."
|
2018-08-13 14:11:07 +00:00
|
|
|
cd /root/website
|
2018-08-13 15:49:25 +00:00
|
|
|
greenlock certonly --webroot-path public \
|
|
|
|
--acme-version draft-11 --acme-url https://acme-v02.api.letsencrypt.org/directory \
|
|
|
|
--agree-tos --email <EMAIL> --domains < --domains palmpay.io,www.palmpay.io <- example > \
|
|
|
|
--community-member \
|
|
|
|
--config-dir ./acme/etc
|