mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-18 22:49:07 +00:00
9 lines
160 B
Bash
9 lines
160 B
Bash
#!/bin/sh
|
|
|
|
# generate certificate
|
|
certbot certonly --webroot -w /acme-challenge -n -d "$1" --email "$2" --agree-tos
|
|
if [ "$?" -ne 0 ] ; then
|
|
exit 1
|
|
fi
|
|
|
|
exit 0
|