Missing SSL certificate for Proxmox backup server

sukerman

Well-Known Member
Aug 29, 2019
57
7
48
52
Hi All,

I'm no expert, this isn't official advice, but if like me you have installed backup and PVE on the same box and are annoyed it's not sharing the same ssl as the PVE install read on...

By default proxmox backup server doesn't use the same cert as your PVE when installed on the same box and so the cert is 'self signed' and you'll get a nag.

If you have a backup server installed on same host as pve, and you have a working certificate for PVE, and I know that's it's not ideal to have both on the same host, but many people will be doing it, especially as I've found out that if your backup server is not in the same datacentre and has a bit of latency (like more than 2ms), it can be quicker to backup locally and then remote sync to your other server. Checkout the proxmox-backup-manager benchmark to see you are getting slow transfers to remote servers.

You can copy the PVE SSL certs to the ones used by the backup server :

Code:
root@trinity:~# cd /etc/proxmox-backup/
root@trinity:/etc/proxmox-backup# ls

authkey.key  authkey.pub  csrf.key  datastore.cfg  proxy.key  proxy.pem  remote.cfg  sync.cfg

root@trinity:/etc/proxmox-backup# cp /etc/pve/local/pveproxy-ssl.pem proxy.pem
root@trinity:/etc/proxmox-backup# cp /etc/pve/local/pveproxy-ssl.key proxy.key

root@trinity:/etc/proxmox-backup# systemctl restart proxmox-backup-proxy

Hope that helps someone.

NOTE:

Sometimes this seems to change the fingerprint of your backup server. If so you'll need to update the key in any mounted filesystems in 'storage' in PVE, or other backup servers that connect to it as a remote.
 
Last edited:
Tested with Backup Server stable 1.0 and this solution works perfectly! Initially, the proxmox-backup-proxy service failed to start after copying the files. Updating the two replaced files with "chgrp backup" resolved it.
 
Last edited:
Sometimes this seems to change the fingerprint of your backup server. If so you'll need to update the key in any mounted filesystems in 'storage' in PVE, or other backup servers that connect to it as a remote.
This is intended and to be expected, the fingerprint is the fingerprint of the certificate used (either self-signed or the one you copied over). You only need to specify the fingerprint in backup clients if the certificate is self-signed, thats the only way to make sure this certificate is "valid". If the certificate is not self-signed, you don't need to specify the fingerprint as it can make sure the chain of trust is intact.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!