cleanup failures in certificate; report some errors via the right alert mechanism
report here correct alert
Merge pull request #15 from mirleft/no-assert

neat