10 lines
183 B
Bash
10 lines
183 B
Bash
#!/bin/bash
|
|
|
|
# generate certificate
|
|
certbot certonly --webroot -w /opt/bunkerized-nginx/acme-challenge -n -d "$1" --email "$2" --agree-tos
|
|
if [ "$?" -ne 0 ] ; then
|
|
exit 1
|
|
fi
|
|
|
|
exit 0
|