added caching of certificate authenticity
now code as it should be, but fails to verify authentic message
made exception fall through