Created
November 21, 2022 09:42
-
-
Save msterhuj/e4f0d0930410c044a8a92fd5c6cf192c to your computer and use it in GitHub Desktop.
Reset Cert PVE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# SRC https://forum.proxmox.com/threads/broken-proxmox-by-trying-to-add-ssl-certificates.59166/ | |
rm /etc/pve/priv/pve-root-ca.key | |
rm /etc/pve/pve-root-ca.pem | |
rm /etc/pve/local/pve-ssl.pem /etc/pve/local/pve-ssl.key /etc/pve/local/pveproxy-ssl.pem /etc/pve/local/pveproxy-ssl.key | |
pvecm updatecerts | |
systemctl restart pveproxy |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment