Search code examples
.netwindows-mobilewindows-ceactivesyncrapi

how to remotely install certificate on Windows CE using RAPI and ActiveSync


I'm creating .NET application which connects to WindowsCE device using Active Sync. I'm using OpenNETCF.Desktop.Communication.dll library to connect via RAPI but I didn't find any way to install the certificate on the mobile device.


Solution

  • RAPI has no inherent previsions for installing certificates. it does, however, have the ability to use your own custom RAPI methods that you can Invoke. You could push the cert down and use a custom RAPI DLL (that you also push down) to do the install.

    You could also roll the cert info into a CSP and then put that in a CAB that you deploy and execute. The advantage there is that you don't need a custom RAPI DLL.