C ChrisTG74 Member Proxmox Subscriber Nov 12, 2025 53 4 8 Today at 13:49 #1 Hi, is it possible to replace "custom certificates" from shell or via api? I'm speaking of this ones here: My goal is, to do cert-renewal automatically. What service(s) need to be restarted after exchanging the certs? Many thanks in advance!
Hi, is it possible to replace "custom certificates" from shell or via api? I'm speaking of this ones here: My goal is, to do cert-renewal automatically. What service(s) need to be restarted after exchanging the certs? Many thanks in advance!
cheiss Proxmox Staff Member Staff member Dec 5, 2022 1,243 462 93 Vienna, Austria c8h4.io Today at 13:55 #2 Hi, you are looking for this API endpoint: https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/certificates/custom Or on the shell with pvenode cert set: https://pve.proxmox.com/pve-docs/pvenode.1.html#cli_pvenode_cert_set Reactions: ChrisTG74
Hi, you are looking for this API endpoint: https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/certificates/custom Or on the shell with pvenode cert set: https://pve.proxmox.com/pve-docs/pvenode.1.html#cli_pvenode_cert_set
C ChrisTG74 Member Proxmox Subscriber Nov 12, 2025 53 4 8 Today at 14:08 #3 Oh, the pvenode commands are also valid for PMG? I didn't expect that. I thought they're only for PVE Nodes.
Oh, the pvenode commands are also valid for PMG? I didn't expect that. I thought they're only for PVE Nodes.
cheiss Proxmox Staff Member Staff member Dec 5, 2022 1,243 462 93 Vienna, Austria c8h4.io Today at 16:25 #4 Oh, my bad - completely overlooked that you are talking about Mail Gateway! Anyhow, the correct endpoint would be: https://pmg.proxmox.com/pmg-docs/api-viewer/index.html#/nodes/{node}/certificates/custom/{type} As for the CLI, there is the equivalent pmgconfig cert set: https://pmg.proxmox.com/pmg-docs/pmgconfig.1.html#cli_pmgconfig_cert_set
Oh, my bad - completely overlooked that you are talking about Mail Gateway! Anyhow, the correct endpoint would be: https://pmg.proxmox.com/pmg-docs/api-viewer/index.html#/nodes/{node}/certificates/custom/{type} As for the CLI, there is the equivalent pmgconfig cert set: https://pmg.proxmox.com/pmg-docs/pmgconfig.1.html#cli_pmgconfig_cert_set