Making a WP7 HttWebRequest POST with an untrusted cert?

前端 未结 3 790
天涯浪人
天涯浪人 2021-01-20 04:29

I\'m working on a Windows Phone 7 application that makes a REST service call. The third party that hosts the web services has an invalid certificate in the current environme

3条回答
  •  野的像风
    2021-01-20 05:02

    You need to install the root CA cert of the issuing party on the phone.

    You can do this by emailing the RootCA to the user of the phone. They click on the attachement and it will prompt them to ask if they want to install the certificate on the phone.

    Once you have done that your requests should go through.

    I dont believe there is a way to do this programatically in your app however.

提交回复
热议问题