Handles not having a cert
Fixed require statement to be more explicit