make
make install
+This version depends on at least PolarSSL v0.99.
+
*************************************************************************
-The following features are missing in the PolarSSL version of OpenVPN:
+Due to limitations in the PolarSSL library, the following features are missing
+in the PolarSSL version of OpenVPN:
- * ca_path support - Loading certificate authorities from a directory
* PKCS#12 file support
+ * --capath support - Loading certificate authorities from a directory
* Windows CryptoAPI support
* Management external key support
- * X509 alternative username fields (must be "CN")
+ * X.509 alternative username fields (must be "CN")
+
+Plugin/Script features:
- TODO:
- * serial is in Hex
- * X509 certificate export
- * X.509 tracking
+ * X.509 Serial number is in hex, not decimal as with OpenSSL
+ * X.509 subject line has a different format than the OpenSSL subject line
+ * X.509 certificate export does not work
+ * X.509 certificate tracking
dnl enable --x509-username-field feature if requested
if test "$X509ALTUSERNAME" = "yes"; then
+ if test "$SSL_LIB" = "polarssl" ; then
+ AC_MSG_ERROR([PolarSSL does not support the --x509-username-field feature])
+ fi
+
AC_DEFINE(ENABLE_X509ALTUSERNAME, 1, [Enable --x509-username-field feature])
fi
as X509_<depth>_<attribute>=<value>. Multiple
.B \-\-x509-track
options can be defined to track multiple attributes.
+Not available with PolarSSL.
.\"*********************************************************
.TP
.B \-\-ns-cert-type client|server
" of verification.\n"
"--ns-cert-type t: Require that peer certificate was signed with an explicit\n"
" nsCertType designation t = 'client' | 'server'.\n"
+#ifdef ENABLE_X509_TRACK
"--x509-track x : Save peer X509 attribute x in environment for use by\n"
" plugins and management interface.\n"
+#endif
#if OPENSSL_VERSION_NUMBER >= 0x00907000L || USE_POLARSSL
"--remote-cert-ku v ... : Require that the peer certificate was signed with\n"
" explicit key usage, you can specify more than one value.\n"
/*
* Enable x509-track feature?
*/
-#if defined(USE_CRYPTO) && defined(USE_SSL) && defined USE_OPENSSL
+#if defined(USE_CRYPTO) && defined(USE_SSL) && defined (USE_OPENSSL)
#define ENABLE_X509_TRACK
#endif