SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
Bacula Encryption, master key and certificate, how to check
Author Message
Post Bacula Encryption, master key and certificate, how to check 
Hello

By the past, I made experimentations with bacula certificates.
When passing Bacula in "Production", I reset every certificates on all
the client in order to make everything fine.

It appears recently that I couldn't restore a windows server with the
master keypair because the master.cert was wrong.

I did the following query :


SELECT DISTINCT
path.path,
file.md5,
job.starttime,
client.name
FROM
public.client,
public.file,
public.filename,
public.path,
public.job
WHERE
client.clientid = job.clientid AND
file.jobid = job.jobid AND
file.filenameid = filename.filenameid AND
file.pathid = path.pathid AND
filename.name = 'master.cert'
ORDER BY file.md5,client.name,path.path,job.starttime
;

First I have seen that between operating systems (Linux,Mac) the md5
hash was different
Then on my four windows machines, the hash is always different (each
master.cert hash is unique on each windows machine.

How is this possible ?

Furthermore, if I test the master.cert manually with openssl md5, on
windows machines, it's not working if the .cert has the same openssl
md5 hash than on Linux or Mac

It seems to be a problem of EndOfLine or Encoding.

How should be stored the certificate in order to make it compliant
between every systems ?

Why do the bacula hashs on windows are always differents ?

Thanks

Hugo

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB