Hi all,
I am pretty new to Bareos and I try to setup tape backup on a test machine.
I have the tape changer running and backup from windows and linux server working.
Now I want to have the files encrypted on the tape.
According to the documentation I tried it with the local FD, but as soon as I put some config parameter related to the encryption into my config file, I get the following error:
Apr 17 10:39:15 bareos bareos-dir[1302]: bareos-dir: CONFIG ERROR at lib/parse_conf_state_machine.cc:162
Apr 17 10:39:15 bareos bareos-dir[1302]: Config error: Keyword "PKIKeypair" not permitted in this resource.
Apr 17 10:39:15 bareos bareos-dir[1302]: Perhaps you left the trailing brace off of the previous resource.
Apr 17 10:39:15 bareos bareos-dir[1302]: : line 9, col 18 of file /etc/bareos/bareos-dir.d/client/bareos-fd.conf
Apr 17 10:39:15 bareos bareos-dir[1302]: PKI Keypair = /etc/bareos/bac02muc-fd.pem # Public and Private Keys in one file
Apr 17 10:39:15 bareos systemd[1]: bareos-director.service: Main process exited, code=exited, status=42/n/a
Apr 17 10:39:15 bareos systemd[1]: bareos-director.service: Failed with result 'exit-code'.
What am I doing wrong?
Config is:
# encryption configuration
# PKI Signatures = Yes # Enable Data Signing
# PKI Encryption = Yes # Enable Data Encryption
PKI Keypair = /etc/bareos/client-fd.pem # Public and Private Keys in one file
PKI Master Key = /etc/bareos/master.pub.key # ONLY the Public Key
PKI Cipher = aes128 # specify desired PKI Cipher here
It would be great if someone could point me in the right direction.
Thanks in advance...
Markus