Re: [Bacula-users] PKI decryption problem: missing private key

2013-10-25 Thread Jared Kelley
This was solved by removing the password from the master.key file

openssl rsa -in master.key -out master.nopass.key



On 10/22/13 2:22 PM, "jaredk51"  wrote:

>I am having the same problem.  Is there a resolution for this?
>
>+--
>|This was sent by jkel...@popcap.com via Backup Central.
>|Forward SPAM to ab...@backupcentral.com.
>+--
>
>
>
>--
>
>October Webinars: Code for Performance
>Free Intel webinars can help you accelerate application performance.
>Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most
>from 
>the latest Intel processors and coprocessors. See abstracts and register >
>http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktr
>k
>___
>Bacula-users mailing list
>Bacula-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/bacula-users
>


--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] PKI decryption problem: missing private key

2013-10-22 Thread jaredk51
I am having the same problem.  Is there a resolution for this?

+--
|This was sent by jkel...@popcap.com via Backup Central.
|Forward SPAM to ab...@backupcentral.com.
+--



--
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] PKI decryption problem: missing private key

2012-06-30 Thread Hugo Letemplier
I think that you need to use the master.pem or the fd-example.pem that is on A 
if you want to restore on B
Dont forget to restart the File Daemon on B after config modifications

Hugo


Le 21 juin 2012 à 22:43, Ricky Tong a écrit :

> Hi,
> 
> we are trying to restore a backup of a client(let's call it A) to a
> new machine(let's call it B). B is identical to A, which both have
> centos 6.2 running and same version of bacula-fd running.
> 
> the public and private keys of A are stored in
> /etc/bacula/fd-example.pem and /etc/bacula/master.cert, and these keys
> are also copied at B at the same path.
> 
> in the bacula-fd.conf on both A and B, we use the following:
> 
> PKI Signatures = Yes
> PKI Encryption = Yes
> PKI Keypair = "/etc/bacula/fd-example.pem"
> PKI Master Key = "/etc/bacula/master.cert"
> 
> OK, here is the problem:
> - when we try to restore the backup from A to /tmp/bacula-restore in
> A, it's fine.
> - however, when we try to restore the backup from A to B, bconsole is
> repeatly printing:
> 
> 21-Jun 00:52 tvb_restore_test-fd JobId 397: Error: Missing private key
> required to decrypt encrypted backup data.
> 21-Jun 00:52 tvb_restore_test-fd JobId 397: Error: Missing private key
> required to decrypt encrypted backup data.
> ...
> 
> The keys in A are the same as the keys in B.(I did the md5sum to
> verify that they are the same) and the permissions are the same too.
> 
> Please advise. Any suggestions or help will be appreciated.
> 
> Thank you!
> 
> Ricky
> 
> --
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> ___
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] PKI decryption problem: missing private key

2012-06-23 Thread Radosław Korzeniewski
Hello Ricky,

2012/6/22 Ricky Tong 

> **
> Hi Radoslaw,
>
> How is that relevant? (Maybe I am missing something here).
>
>
Could you, please answer the question: "What are the names of client A and
B stored in bacula-fd.conf file?"

If no, I cant help you. Sorry.

best regards
-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] PKI decryption problem: missing private key

2012-06-22 Thread Ricky Tong

 Hi Radoslaw,

How is that relevant? (Maybe I am missing something here).

Thanks again.

Ricky





On 22/06/2012 6:58 AM, Radosław Korzeniewski wrote:

Hello,

2012/6/21 Ricky Tong >


Hi,

we are trying to restore a backup of a client(let's call it A) to a
new machine(let's call it B). B is identical to A, which both have
centos 6.2 running and same version of bacula-fd running.


What are the names of client A and B stored in bacula-fd.conf file?
best regards

--
Radosław Korzeniewski
rados...@korzeniewski.net 


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


Re: [Bacula-users] PKI decryption problem: missing private key

2012-06-22 Thread Radosław Korzeniewski
Hello,

2012/6/21 Ricky Tong 

> Hi,
>
> we are trying to restore a backup of a client(let's call it A) to a
> new machine(let's call it B). B is identical to A, which both have
> centos 6.2 running and same version of bacula-fd running.
>
>
What are the names of client A and B stored in bacula-fd.conf file?

best regards

-- 
Radosław Korzeniewski
rados...@korzeniewski.net
--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


[Bacula-users] PKI decryption problem: missing private key

2012-06-21 Thread Ricky Tong
Hi,

we are trying to restore a backup of a client(let's call it A) to a
new machine(let's call it B). B is identical to A, which both have
centos 6.2 running and same version of bacula-fd running.

the public and private keys of A are stored in
/etc/bacula/fd-example.pem and /etc/bacula/master.cert, and these keys
are also copied at B at the same path.

in the bacula-fd.conf on both A and B, we use the following:

PKI Signatures = Yes
PKI Encryption = Yes
PKI Keypair = "/etc/bacula/fd-example.pem"
PKI Master Key = "/etc/bacula/master.cert"

OK, here is the problem:
- when we try to restore the backup from A to /tmp/bacula-restore in
A, it's fine.
- however, when we try to restore the backup from A to B, bconsole is
repeatly printing:

21-Jun 00:52 tvb_restore_test-fd JobId 397: Error: Missing private key
required to decrypt encrypted backup data.
21-Jun 00:52 tvb_restore_test-fd JobId 397: Error: Missing private key
required to decrypt encrypted backup data.
...

The keys in A are the same as the keys in B.(I did the md5sum to
verify that they are the same) and the permissions are the same too.

Please advise. Any suggestions or help will be appreciated.

Thank you!

Ricky

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users