We have managed to fix the issue. Like you said, it was because of a valid SSL certificate. Later we recieved the services not started error.
<serviceHostingEnvironment minFreeMemoryPercentageToActivateService="1">
under
<system.serviceModel>
Thanks for your time.