Hello, This patch adds support for using certificates stored in the Mac OSX Keychain to authenticate with the OpenVPN server. This works with certificates stored on the computer as well as certificates on hardware tokens that support Apple's tokend interface. It has been tested with an Aladdin eToken on Mac OSX Leopard and with software only certificates on Mac OSX Leopard and Snow Leopard. Aladdin has not yet released drivers for Snow Leopard. The patch is very similar to, and also based on, the Windows Crypto API certificate functionality that currently exists in OpenVPN.
I did not know how to adjust the automake/autoconf configuration files, so I have included the XCode project I used to build and test openvpn in this patch. All new files were added in an "osx" subdirectory. Please let me know if you have any questions or if there are any changes (I suspect there will be many) that I need to complete before this patch can be accepted. Thanks, Brian Raderman
keychaincert.patch
Description: Binary data