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
|