When I moved over the IIS settings from one server to another, it did not automatically set the certificate correctly. So there was a blank certificate setup for https in IIS. Setting the certificate for the website fixed this error.