mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-02-15 04:32:15 +00:00
5 lines
238 B
Bash
5 lines
238 B
Bash
#!/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
|