LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-13-2012, 07:59 AM   #1
knilux
Member
 
Registered: Mar 2012
Location: The Netherlands
Distribution: OpenSuSE
Posts: 42

Rep: Reputation: Disabled
Bacula: how to compile TLS support in OpenSUSE 12.2


I have been testing and using Bacula now for a while. Now I need to make a backup over a secured channel. I have installed TLS certificates on both sides (server (DIR) and client (FD)). I use OpenSUSE 12.2 on both machines.

On the client side I only installed the bacula-fd, which works fine without encryption. But when I start to make a backup with encryption there is an errormessage telling me that the client (FD) has no TLS support built in.

So the question is: how do I compile TLS support in bacula-fd on OpenSUSE 12.2? I installed bacula-fd with Yast. Is there a configuration script somewhere? There is no info on the OpenSUSE site about this topic.
 
Old 12-13-2012, 09:38 AM   #2
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
http://www.bacula.org/en/dev-manual/...nications.html
 
Old 12-13-2012, 09:45 AM   #3
knilux
Member
 
Registered: Mar 2012
Location: The Netherlands
Distribution: OpenSuSE
Posts: 42

Original Poster
Rep: Reputation: Disabled
Thanks for your quick response!

I already created several .conf files with the help of this page. But the problem seems to come from the fd daemon itself. It has to be compiled with TLSsupport to be able to use the TLS parameters in the .conf file. I do not know how to do that in SUSE. Do you?
 
Old 12-13-2012, 12:49 PM   #4
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
What repo did you say you installed from?
 
Old 12-19-2012, 05:00 AM   #5
knilux
Member
 
Registered: Mar 2012
Location: The Netherlands
Distribution: OpenSuSE
Posts: 42

Original Poster
Rep: Reputation: Disabled
I used http://download.opensuse.org/reposit.../openSUSE_12.2 to install Bacula.

Installing the certificates and config the file seems to be not enough to get this working. Yast is not able to work with encryption. Maybe it is better to use Stunnel?
 
Old 12-20-2012, 07:40 AM   #6
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
YaST/encryption/stunnel?
Is http://download.opensuse.org/reposit...openSUSE_12.2/ listed as a repo or did you browse,choose and download?

IF you installed it from a zypper listed repo then all elements should have installed (may need a config. adjustment or two)

terminal >
Code:
sudo zypper lr
output please.
 
Old 12-20-2012, 10:06 AM   #7
knilux
Member
 
Registered: Mar 2012
Location: The Netherlands
Distribution: OpenSuSE
Posts: 42

Original Poster
Rep: Reputation: Disabled
I browsed for the right location and added it to "software repositories" in Yast. All depencies were solved. But I saw nothing about encryption.

I also added Stunnel to the repositories and tested it. After a while I got it working, but I have problems with backing up Windows machines this way. Also, Stunnel can not be configured with Webmin, so this makes it more difficult to instruct someone else do do it. If possible I would like to use the TLS directives in Bacula. Just adding the certs/keys to the Bacula config files does not do the trick. It looks like something has to be turned on or so. That is why I asked if there was a config file somewhere.

Code:
Output sudo zypper lr:

#  | Alias                     | Name                               | On/Off       | Renew
---+---------------------------+------------------------------------+--------------+-----------
 1 | Bacula                    | Bacula                             | Ja           | Ja (yes)        
 2 | OpenSUSE_Stunnel          | OpenSUSE Stunnel                   | Ja           | Ja        
 3 | openSUSE-12.2-1.6         | openSUSE-12.2-1.6                  | Ja           | Nee (no)      
 4 | repo-debug                | openSUSE-12.2-Debug                | Nee          | Ja        
 5 | repo-debug-update         | openSUSE-12.2-Update-Debug         | Nee          | Ja        
 6 | repo-debug-update-non-oss | openSUSE-12.2-Update-Debug-Non-Oss | Nee          | Ja        
 7 | repo-non-oss              | openSUSE-12.2-Non-Oss              | Ja           | Ja        
 8 | repo-oss                  | openSUSE-12.2-Oss                  | Ja           | Ja        
 9 | repo-source               | openSUSE-12.2-Source               | Nee          | Ja        
10 | repo-update               | openSUSE-12.2-Update               | Ja           | Ja        
11 | repo-update-non-oss       | openSUSE-12.2-Update-Non-Oss       | Ja           | Ja
 
Old 12-20-2012, 03:43 PM   #8
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Thanks.
You "may" have to compile this thing yourself.
This page suggests compiling with
Code:
--with-openssl=<path>
and further says
"This configuration option is necessary if you want to enable TLS (ssl), which encrypts the communications within Bacula or if you want to use File Daemon PKI data encryption. Normally, the path specification is not necessary since the configuration searches for the OpenSSL libraries"

"...since the configuration searches for the OpenSSL libraries..."

You have openssl libraries installed?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bacula and xz/pbzip2 compression support blackst0ne Linux - Server 1 03-23-2012 12:51 AM
how to configure tls on opensuse finsh Linux - Server 5 02-09-2009 10:42 AM
HowTo compile Postfix with mysql, TLS and SSL support eliufoo Linux - Server 1 05-29-2008 01:06 PM
opensuse 10.3 and sending smtp via SSL/TLS newbuyer17 Linux - Server 1 02-27-2008 02:26 AM
Bacula TLS how-to? yanik Linux - Software 1 10-06-2006 02:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration