[SOLVED] PBS SSL issue

Spyder13337

Active Member
Jul 25, 2017
36
3
28
47
i install PBS on it server but how can enable SSL i already have the ssl key but how can i get the web server to use them and if so where is the web rootdir and what is the web server in use i see apache2 is install but i been masked so i know it not running i do have access to the web site and the server is fully working just no SSL
 
hi,

SSL is enabled by default, the certificate is self signed.

i already have the ssl key but how can i get the web server to use them

the files are located in /etc/proxmox-backup/.

if you'd like to replace the certificate, you need to place them as proxy.key and proxy.pem and make sure the owners and permissions are like this:
Code:
-rw-r----- 1 root backup 3243 Jul 13 11:04 proxy.key
-rw-r----- 1 root backup 2130 Jul 13 11:04 proxy.pem
 
Thank you that was helpful but i install let encrypt and have and these re the key but which key replace which key

i have these
cert.pem
chain.pem
fullchain.pem
privkey.pem
 
fullchain.pem goes to proxy.pem

privkey.pem goes to proxy.key

don't forget to set the permissions and owners like above

afterwards restart the proxmox-backup-proxy service
 
ok it failed and i see this


proxmox-backup-proxy.service - Proxmox Backup API Proxy Server


Loaded: loaded (/lib/systemd/system/proxmox-backup-proxy.service; enabled; vendor preset: enabled)


Active: failed (Result: exit-code) since Tue 2021-01-05 10:57:54 EST; 25s ago



Process: 6379 ExecStart=/usr/lib/x86_64-linux-gnu/proxmox-backup/proxmox-backup-proxy (code=exited, status=101)


Main PID: 6379 (code=exited, status=101)





Jan 05 10:57:54 backups systemd[1]: proxmox-backup-proxy.service: Service RestartSec=100ms expired, scheduling restart.


Jan 05 10:57:54 backups systemd[1]: proxmox-backup-proxy.service: Scheduled restart job, restart counter is at 5.


Jan 05 10:57:54 backups systemd[1]: Stopped Proxmox Backup API Proxy Server.


Jan 05 10:57:54 backups systemd[1]: proxmox-backup-proxy.service: Start request repeated too quickly.


Jan 05 10:57:54 backups systemd[1]: proxmox-backup-proxy.service: Failed with result 'exit-code'.



Jan 05 10:57:54 backups systemd[1]: Failed to start Proxmox Backup API Proxy Server.
 
form


/etc/letsencrypt/live/{Domain_name}

cp chain.pem /etc/proxmox-backup/proxy.pem

cp privkey.pem /etc/proxmox-backup/proxy.key
 
great, please mark the thread as [SOLVED] so others can know what to expect!
 
on top right you'll see three dots. click there and choose "Edit Thread". then choose the [SOLVED] prefix