p12imprt - Personal Certificate Import Utility for mobile devices & to fix activesync

Mar 27
0

p12imprt - Personal Certificate Import Utility for mobile devices & to fix activesync

Tue, 2007-03-27 22:26 — superuser

If like me you were too cheap to buy an expensive Verisign or similar SSL cert just to get Activesync working, knowing a cheap cert should do the same thing then p12imprt could be just what you are looking for.

No amount of installing the cert to personal or root stores on my mobile device (O2 XDA running windows mobile5) would help with getting activesync running (lots of 80072F17 errors) but the below did:

Get a copy of the cert from your actual server

  • In IIS, go to the default web site and click on the “Directory Security” TAB
  • In the Secure Communication section click “View Certificate” and click the Details tab
  • Click Copy to File...next..then select “Yes, export the private key”. Next
  • Check “Include all certificates in the certification path if possible”. Next
  • Enter a password (You will need this password to install the certificate). Next
  • Choose where to store the cert and name. Next...Finish
  • Click “Copy to File” again..Next
  • This time select “No, do not export the private key”. Next
  • Check “DER encoded binary X.509 (.CER)”. Next
  • Choose filename and location (call it a different name than the previous process so that it is easier to identify. Next & Finish
  • Copy the certificates to a machine that will sync with the WM5 device.
  • Use the ActiveSync “Explorer” to move the certificates to the device.
  • On the device, browse to the DER format file first and click it, this will prompt to confirm you want to install the certificate. Click Yes.
  • Copy the p12imprt.exe executable to the Windows Mobile device. You can use any method to do the transfer: ActiveSync, a flash memory card, Bluetooth, Wifi, infrared etc. (The p12imprt.exe file is a Windows Mobile executable, not a Win32 executable. You can't use it on your desktop Windows computer)
  • Run P12imprt..by default will look for the file in your "My Documents" folder
  • Enter the Password and click "import certificate".(Don't tap the "Enter" key in the virtual keyboard, otherwise the program will exit).
  • Resources
    p12imprt

    Comments

    Post new comment

    The content of this field is kept private and will not be shown publicly.
    • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
    • Lines and paragraphs break automatically.
    • You can enable syntax highlighting of source code with the following tags: <code>, <blockcode>. The supported tag styles are: <foo>, [foo].

    More information about formatting options