mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
9 lines
183 B
Bash
9 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
|