ServicePointManager.ServerCertificateValidationCallback / Accepting SSL Cert Errors RRS feed

  • Question

  • Hello,

      We're building a Windows Store App which connects to an ASP.NET Web API REST web service that is hosted internally on the Windows domain (not public / web facing).  We would like to secure internal communications via SSL to and from the internal web server where the REST Web Service is located.

      The simple solution is just buy a SSL cert that's issued by a 3rd party SSL cert company.  The bigger issue is that on 11/1/2015 these 3rd party SSL cert companies can't issue internal domain name certs - meaning that if your company is XYZ Company and your Windows domain is called XYZ.local and your external domain name for your website which technically has nothing to do with the internal Windows domain is XYZCompany.com then you can't buy these certs.  So the option is to make a self signed cert and run that internally. 

      The problem then becomes that Windows Store apps are lacking the ServicePointManager.ServerCertificateValidationCallback in Win RT.  Therefore there is no way to ignore certificate warnings.

      Does anyone know of any work arounds in Win RT / Windows Store Apps that would all you to ignore self-signed certificate warnings?


    Monday, October 7, 2013 9:09 PM


All replies