[WIP] Extend exception/cert handling

related to #28 
@AugierLe42e if you still have the original file, can please run the `file` command on it and show us the output?