Implementing two way TSL authentication support. Changed sertificate to be stored as byte array to database.