#!/bin/bash
scp root@letsencrypt:/etc/letsencrypt/live/example.com/privkey.pem /etc/pve/nodes/pve/pveproxy-ssl.key
scp root@letsencrypt:/etc/letsencrypt/live/example.com/fullchain.pem /etc/pve/nodes/pve/pveproxy-ssl.pem
systemctl restart pveproxy
exit 0