If you’re working with an Azure Website and trying to use the Azure Managed Cache Service, you really need to be on either the Basic or Standard tier for the Azure Website. Apparently the Azure Managed Cache Service is not supported when on the Azure Websites Free or Shared tiers.
If using the Free or Shared tier of Azure Websites, and trying to access the Azure Managed Cache Service, you’ll get an error similar to this one:
Failure in About. Microsoft.ApplicationServer.Caching.DataCacheException: ErrorCode<ERRCA0017>:SubStatus<ES0016>:There is a temporary failure. Please retry later. (CRL Server for SSL Certificate is offline) —> Microsoft.ApplicationServer.Caching.ChannelAuthenticationException: CRL Server is offline —> System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.
No amount of retry logic will fix this error. Gnarly, huh?
The fix is easy enough though. Scale your Azure Website to either the Basic or Standard tier. You can make the Azure Website change easily via the Azure management portal.