bareos SSL/TLS openssl ca and cert generation

to create a simple ca and certificates for bareos you don't need x11 tools like xca or tinyCA, just use openssl

#create ca
openssl genrsa -aes256 -out ca.key 2048  
openssl req -x509 -new -nodes -extensions v3_ca -key ca.key -days 3650 -out ca.crt -sha512

#create and sign cert
openssl genrsa -out backup.key 4096  
openssl req -new -key backup.key -out backup.csr -sha512  
openssl x509 -req -in backup.csr -CA ca.crt -CAkey ca.key -CAcreateserial -out backup.crt -days 3650 -sha512