pvenode cert set: https://pve.proxmox.com/pve-docs/pvenode.1.html#cli_pvenode_cert_setpmgconfig cert set: https://pmg.proxmox.com/pmg-docs/pmgconfig.1.html#cli_pmgconfig_cert_setpmgconfig cert set <type> <certificates> <key> [OPTIONS] [FORMAT_OPTIONS]
Upload or update custom certificate chain and key.
<type>: <api | smtp>
The TLS certificate type (API or SMTP certificate).
<certificates>: <string>
PEM encoded certificate (chain).
<key>: <string>
PEM encoded private key.
--force <boolean> (default =0)
Overwrite existing custom or ACME certificate files.
--restart <boolean> (default =0)
Restart services.
pmgconfig mostly just wraps the API a bit more neatly for command-line usage.pmgconfig cert set api "$(cat /var/lib/certs/cert.pem)" "$(cat /var/lib/certs/key.pem)"
We use essential cookies to make this site work, and optional cookies to enhance your experience.