Skip to content

Instantly share code, notes, and snippets.

@msterhuj
Created November 21, 2022 09:42
Show Gist options
  • Save msterhuj/e4f0d0930410c044a8a92fd5c6cf192c to your computer and use it in GitHub Desktop.
Save msterhuj/e4f0d0930410c044a8a92fd5c6cf192c to your computer and use it in GitHub Desktop.
Reset Cert PVE
#!/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