Bacula-users

[Bacula-users] Bacula Encryption, master key and certificate, how to check the content ?

2012-01-31 09:22:36
Subject: [Bacula-users] Bacula Encryption, master key and certificate, how to check the content ?
From: Hugo Letemplier <hugo.let.35 AT gmail DOT com>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 31 Jan 2012 15:20:14 +0100
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 DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>
  • [Bacula-users] Bacula Encryption, master key and certificate, how to check the content ?, Hugo Letemplier <=