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-fo...@backupcentral.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....@gmail.com via Backup Central.
> |Forward SPAM to ab...@backupcentral.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@lists.sourceforge.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@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to