A Microsoft Azure Cloud Service has a web role which is defined like this in the service definition:
<ServiceDefinition name="Magic" schemaVersion="" xmlns="[WHATEVER]">
<WebRole name="MagicRole">
<Sites>
<Site name="Web" >
<Bindings>
<Binding name="HttpIn" endpointName="HttpIn" />
<Binding name="HttpsIn" endpointName="HttpsIn" />
</Bindings>
</Site>
</Sites>
<Endpoints>
<InputEndpoint name="HttpIn" protocol="http" port="80" />
<InputEndpoint name="HttpsIn" protocol="https"
port="443" certificate="ServiceCert"/>
</Endpoints>
<Certificates>
<Certificate name="ServiceCert"
storeLocation="LocalMachine" storeName="My" />
</Certificates>
</WebRole>
</ServiceDefinition>
The service has been working just fine for months. Recently users started reporting some obscure problems when establishing SSL connection to the service.
Safari on iOS is reported to say it's unable to verify server identity, cURL is reported to say it's unable to get local issuer certificate and third party SSL validation tools such as this and this are reported to say the certificate is improperly installed.
The problem is not reproduced consistently. Sometimes requests succeed and sometimes they fail. Third party tools sometimes report the service is properly configured and sometimes report its misconfigured.
Nothing was changed in the service for two week before users started reporting those problems.
What could cause this problem?