[WIP] Extend exception/cert handling

related to #28 
@Zauberstuhl , @jhass : encoding is ISO-8859.