refactored certificate fingerprint
directly create SslCertitificate object at error handler