Fix bugs with the new handling of certificates,
add logs when run update scripts.
Authored by: tmuenzer 2011-06-24
Parent: [r1017]
Child: [r1019]