Revert "Allow self signed certs."

This reverts commit a6e85bc20e5170cdd41a63f71ae148d72ae6e5d8.