Bacula-users

Re: [Bacula-users] Problem with data encryption on windows client

2011-07-27 09:38:27
Subject: Re: [Bacula-users] Problem with data encryption on windows client
From: Rickifer Barros <rickiferbarros AT gmail DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Wed, 27 Jul 2011 10:36:06 -0300
I use encryption with Windows 7 and it works perfectly. But I put my PKI configuration into the FileDeamon { } directive instead the Director { } directive. Also, I didn't need to install OpenSSL separately, I just installed the Bacula Client 5.0.3 for windows.

FileDaemon {                            # this is me
Name = test-nb
FDport = 9102                # where we listen for the director
WorkingDirectory = "C:\\Program Files\\Bacula\\working"
Pid Directory = "C:\\Program Files\\Bacula\\working"
Plugin Directory = "C:\\Program Files\\Bacula\\plugins"
Maximum Concurrent Jobs = 2
PKI Signatures = Yes            # Enable Data Signing
PKI Encryption = Yes            # Enable Data Encryption
PKI Keypair = "C:\\Program Files\\Bacula\\keys\\master.keypair"
PKI Master Key = "C:\\Program Files\\Bacula\\keys\\master.cert"
Maximum Network Buffer Size = 131072
}

On Wed, Jul 27, 2011 at 6:35 AM, mariusz <bacula-forum AT backupcentral DOT com> wrote:
Hello,

This is my first post on this forum and I need your help. I`ve searched previous topics and I didn`t find solutions for my problem.

I`ve got a problem with configure data encryption via PKI. I attached current client configuration.
I try to start with console and I receive:

ERROR TERMINATION at /home/kern/bacula/k/bacula/src/lib/parse_conf.c&#58;971
Config error&#58; Keyword "PKISignatures" not permitted in thi resource.
Perhaps you left the trailing brace off of the previous resource.


Does Bacula support data encryption via PKI on Windows? I also installed OpenSSL on windows with MS Visual C++ 2008 Redistribute Package.

I`ve configured clients on linux with data encryption and I haven`t got any problem on linux.


FileDaemon &#123;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # this is me
&nbsp; Name = asmobile-fd
&nbsp; FDport = 9102&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # where we listen for the director
&nbsp; WorkingDirectory = "C&#58;\\Program Files\\Bacula\\working"
&nbsp; Pid Directory = "C&#58;\\Program Files\\Bacula\\working"
# Plugin Directory = "C&#58;\\Program Files\\Bacula\\plugins"
&nbsp; Maximum Concurrent Jobs = 10
&#125;

#
# List Directors who are permitted to contact this File daemon
#
Director &#123;
&nbsp; Name = mariusz-dir
&nbsp; Password = "***"

&nbsp; &nbsp;PKI Signatures = Yes&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Enable Data Signing
&nbsp; &nbsp;PKI Encryption = Yes&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; # Enable Data Encryption
&nbsp; &nbsp; PKI Keypair = "C&#58;\\Program Files\\Bacula\\fd-example.pem"&nbsp; &nbsp; # Public and Private Keys
&nbsp; &nbsp; PKI Master Key = "C&#58;\\Program Files\\Bacula\\master.cert"&nbsp; &nbsp; # ONLY the Public Key
&#125;

#
# Restricted Director, used by tray-monitor to get the
#&nbsp; &nbsp;status of the file daemon
#
#Director &#123;
#&nbsp; Name = @monitor_name@
#&nbsp; Password = "@monitor_password@"
#&nbsp; Monitor = yes
#&#125;

# Send all messages except skipped files back to Director
Messages &#123;
&nbsp; Name = Standard
&nbsp; director = mariusz-dir = all, !skipped, !restored
&#125;


+----------------------------------------------------------------------
|This was sent by mariusz.emb AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Got Input?   Slashdot Needs You.
Take our quick survey online.  Come on, we don't ask for help often.
Plus, you'll get a chance to win $100 to spend on ThinkGeek.
http://p.sf.net/sfu/slashdot-survey
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users