1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-02-15 04:32:15 +00:00
HyperProxmox/system/BASE_SOFT/LETSENCRYPT/scripts/newdomain.sh

6 lines
238 B
Bash
Raw Normal View History

2017-10-21 20:04:42 +00:00
#!/usr/bin/env bash
DOMAIN=$0
certbot certonly --standalone --preferred-challenges http --http-01-port 54321 -d $DOMAIN
cat /etc/letsencrypt/live/$DOMAIN/fullchain.pem /etc/letsencrypt/live/$DOMAIN/privkey.pem > /opt/certbot/$DOMAIN.pem