- Add Setter and getter for certificate
- Add try/catch