Updated Certificate validation exceptions

First steps to fix issue #33