Authorize users to have self-signed pinned certificates

The code as right now doesn't allow a user to have a self-signed certificate. This pull request attempts to fix that.