Can I use client certificates with HTTPS requests with Windows Phone 7?

I need to call a REST-based service from Windows Phone 7 .

The service accepts only the request if the following conditions are met:

  • The request must be done via HTTPS / SSL
  • Request must be authenticated using X509 client certificate

I do not control the service, so I cannot change the authentication requirements.

In the full structure, we can do such things:

HttpWebRequest request = (HttpWebRequest)HttpWebRequest.Create(uri);
request.ClientCertificates.Add(accessCertificate);

However, the property is ClientCertificatesnot available in Silverlight 4, and not one of the X509 classes in the System.Security.Cryptography.X509Certificates namespace appears to be available.

Is it really impossible to make HTTPS requests based on a client certificate with Windows Phone 7?

+3
3

WP7 SDK.

.

WP7

(. exhcange), .

+1

2 , :

Windows® Internet Explorer®
- URL, . , . , .


Windows Phone 7 .cer,.p7b, .pfx. , , mail .cer. , . , , , , . , , .

, .

Windows Phone 7 Certificates_FINAL_121610.pdf

+1

, . acs.codeplex.com, , ACS Azure. , Azure, . oAuth Windows Phone 7, .

SSL, - . https Url, HttpWebRequest ..

0

Source: https://habr.com/ru/post/1781831/


All Articles